Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 214.3 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 51.84 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2553, allocations: 53.38 MB / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode): time 0.00535/0.2606, allocations: 3.649 MB / 435.2 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.2635, allocations: 1.54 MB / 436.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.2637, allocations: 12 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2655, allocations: 0.7195 MB / 437.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008798/0.2664, allocations: 357.3 kB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.2678, allocations: 0.649 MB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007362/0.2685, allocations: 0.5253 MB / 439 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008005/0.2693, allocations: 460.1 kB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004397/0.2697, allocations: 243.1 kB / 439.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.2702, allocations: 262.8 kB / 440 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.626e-05/0.2702, allocations: 52 kB / 440 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.2708, allocations: 239.8 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2709, allocations: 119.5 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.2711, allocations: 219 kB / 440.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.2722, allocations: 0.8056 MB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2722, allocations: 0 / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2722, allocations: 0 / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.2722, allocations: 0 / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002348/0.2746, allocations: 0.895 MB / 442.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.2746, allocations: 8.031 kB / 442.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.2775, allocations: 400.2 kB / 442.7 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006417/0.2781, allocations: 303.5 kB / 443 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.397e-05/0.2782, allocations: 45.69 kB / 443 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.2783, allocations: 63.94 kB / 443.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.2796, allocations: 0.6739 MB / 443.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.2796, allocations: 0 / 443.8 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.2797, allocations: 24 kB / 443.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.2797, allocations: 19.94 kB / 443.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.281, allocations: 0.5712 MB / 444.4 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003297/0.2843, allocations: 1.757 MB / 446.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.2856, allocations: 468.3 kB / 446.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003821/0.286, allocations: 172.7 kB / 446.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.617e-05/0.286, allocations: 19.97 kB / 446.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.2861, allocations: 54.44 kB / 446.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 1.883e-06/0.2861, allocations: 0 / 446.8 MB, free: 7.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001727/0.2878, allocations: 0.5995 MB / 447.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2878, allocations: 55.41 kB / 447.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002097/0.2881, allocations: 196.1 kB / 447.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.2881, allocations: 33.7 kB / 447.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2883, allocations: 260.6 kB / 448 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.2884, allocations: 162.7 kB / 448.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.2885, allocations: 86.14 kB / 448.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2887, allocations: 334.8 kB / 448.5 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.2891, allocations: 150.8 kB / 448.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004521/0.2895, allocations: 253.3 kB / 448.9 MB, free: 5.215 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008638/0.2904, allocations: 441.7 kB / 449.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.2904, allocations: 7.938 kB / 449.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001152/0.2915, allocations: 0.5181 MB / 449.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2916, allocations: 4 kB / 449.9 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2916, allocations: 4 kB / 449.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002527/0.2918, allocations: 56.83 kB / 450 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.2923, allocations: 99.81 kB / 450 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.2939, allocations: 1.625 MB / 451.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.2943, allocations: 55.64 kB / 451.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.2943, allocations: 20.12 kB / 451.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004589/0.2948, allocations: 277.1 kB / 452 MB, free: 1.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004077/0.2952, allocations: 248.9 kB / 452.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007596/0.2959, allocations: 427.7 kB / 452.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/0.2959, allocations: 3.938 kB / 452.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001056/0.297, allocations: 0.5055 MB / 453.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.297, allocations: 8 kB / 453.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.297, allocations: 4 kB / 453.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.2972, allocations: 52.77 kB / 453.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.2976, allocations: 99.83 kB / 453.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.2992, allocations: 1.619 MB / 455 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.2995, allocations: 43.66 kB / 455 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.2995, allocations: 20 kB / 455 MB, free: 14.76 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001833/0.2997, allocations: 212.1 kB / 455.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.2998, allocations: 23.86 kB / 455.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.301, allocations: 0.5002 MB / 455.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.301, allocations: 11.98 kB / 455.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.301, allocations: 0 / 455.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.301, allocations: 0 / 455.8 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3027, allocations: 0.9316 MB / 456.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3027, allocations: 4 kB / 456.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.3031, allocations: 87.83 kB / 456.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000181/0.3033, allocations: 44.83 kB / 456.8 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.3034, allocations: 12 kB / 456.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.3049, allocations: 1.621 MB / 458.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3049, allocations: 4.062 kB / 458.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.3064, allocations: 0.7386 MB / 459.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.3065, allocations: 59.73 kB / 459.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.3066, allocations: 12.05 kB / 459.3 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002599/0.3068, allocations: 24.03 kB / 459.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.3069, allocations: 32.5 kB / 459.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.3069, allocations: 19.98 kB / 459.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.3071, allocations: 147 kB / 459.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3071, allocations: 0 / 459.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009751/0.3081, allocations: 259.1 kB / 459.8 MB, free: 9.852 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002523/0.3083, allocations: 139.4 kB / 459.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.3102, allocations: 0.8493 MB / 460.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3102, allocations: 0 / 460.7 MB, free: 8.828 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005917/0.3108, allocations: 325 kB / 461.1 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3112, allocations: 34.56 kB / 461.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3128, allocations: 0.8521 MB / 461.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3131, allocations: 225.8 kB / 462.2 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.3134, allocations: 58.95 kB / 462.2 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3135, allocations: 43.36 kB / 462.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3135, allocations: 0 / 462.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of Templates: time 0.01166/0.3251, allocations: 4.939 MB / 467.2 MB, free: 2.375 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesBode/SeriesBode.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.630132135003805]