Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001283/0.001283, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9958/0.9958, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.661e-05, allocations: 6.312 kB / 273.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.002821/0.002837, allocations: 2.903 MB / 276.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.003941, allocations: 0.724 MB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.004066, allocations: 8 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.004222, allocations: 59.44 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.004357, allocations: 95.06 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.00457, allocations: 95.8 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.004841, allocations: 386.2 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.005005, allocations: 116.4 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.00527, allocations: 227.5 kB / 278 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.005398, allocations: 119.6 kB / 278.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.005436, allocations: 32 kB / 278.2 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.082e-05/0.005467, allocations: 32 kB / 278.2 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.005507, allocations: 67.75 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.595e-05/0.005583, allocations: 119.7 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005806, allocations: 247.1 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.005807, allocations: 0 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005808, allocations: 0 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005812, allocations: 0 / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0004956/0.006307, allocations: 0.5195 MB / 279.2 MB, free: 11.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.006336, allocations: 11.98 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.006395, allocations: 48.89 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.006577, allocations: 181.3 kB / 279.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.006593, allocations: 21.03 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.006626, allocations: 32.38 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.006854, allocations: 262.7 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006863, allocations: 192 / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.006883, allocations: 24.36 kB / 279.7 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.006891, allocations: 11.94 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.937e-05/0.006981, allocations: 68.56 kB / 279.8 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007358/0.007716, allocations: 0.6849 MB / 280.5 MB, free: 9.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.007837, allocations: 94.52 kB / 280.6 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.634e-05/0.007873, allocations: 32.8 kB / 280.6 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.007888, allocations: 11.97 kB / 280.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.007909, allocations: 34.56 kB / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.222e-06/0.00791, allocations: 0 / 280.7 MB, free: 9.617 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0001576/0.008067, allocations: 105.9 kB / 280.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.008092, allocations: 59.34 kB / 280.8 MB, free: 9.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.008192, allocations: 187.7 kB / 281 MB, free: 9.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.008205, allocations: 33.64 kB / 281 MB, free: 9.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.008274, allocations: 192.3 kB / 281.2 MB, free: 9.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.008306, allocations: 67.41 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.008357, allocations: 45.69 kB / 281.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.008435, allocations: 334.8 kB / 281.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.008461, allocations: 19.98 kB / 281.7 MB, free: 8.539 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.008515, allocations: 69.98 kB / 281.8 MB, free: 8.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.008612, allocations: 113.8 kB / 281.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008614, allocations: 0 / 281.9 MB, free: 8.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001321/0.008746, allocations: 137.4 kB / 282 MB, free: 8.176 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.008757, allocations: 11.06 kB / 282 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008762, allocations: 4 kB / 282 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.008771, allocations: 0 / 282 MB, free: 8.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.008971, allocations: 83.94 kB / 282.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.008974, allocations: 0 / 282.1 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.009033, allocations: 23.84 kB / 282.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.009042, allocations: 8 kB / 282.1 MB, free: 8.051 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.772e-05/0.00911, allocations: 117.8 kB / 282.2 MB, free: 7.926 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.761e-05/0.009138, allocations: 19.98 kB / 282.3 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.009258, allocations: 119.3 kB / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.00926, allocations: 0 / 282.4 MB, free: 7.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.009262, allocations: 4 kB / 282.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009265, allocations: 0 / 282.4 MB, free: 7.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.00942, allocations: 153.7 kB / 282.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009422, allocations: 0 / 282.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.009574, allocations: 55.95 kB / 282.6 MB, free: 7.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.009577, allocations: 4 kB / 282.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.009589, allocations: 7.938 kB / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.00959, allocations: 0 / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.009591, allocations: 0 / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.009774, allocations: 246.4 kB / 282.8 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.009794, allocations: 23.8 kB / 282.9 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.009811, allocations: 11.94 kB / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.788e-05/0.009879, allocations: 7.984 kB / 282.9 MB, free: 7.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.00991, allocations: 15.98 kB / 282.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.009915, allocations: 0 / 282.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.923e-05/0.009955, allocations: 56.78 kB / 283 MB, free: 7.176 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009955, allocations: 0 / 283 MB, free: 7.176 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.01013, allocations: 75.78 kB / 283 MB, free: 7.102 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.969e-05/0.0102, allocations: 88.58 kB / 283.1 MB, free: 7.004 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.01033, allocations: 96.58 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.01033, allocations: 0 / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.01038, allocations: 48.77 kB / 283.3 MB, free: 6.855 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.01054, allocations: 27.94 kB / 283.3 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.01134, allocations: 0.5974 MB / 283.9 MB, free: 6.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.01139, allocations: 88.2 kB / 284 MB, free: 6.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.876e-05/0.01145, allocations: 21.94 kB / 284 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.204e-05/0.01154, allocations: 83.36 kB / 284.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01154, allocations: 0 / 284.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of Templates: time 0.003832/0.01538, allocations: 2.049 MB / 286.1 MB, free: 3.984 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.711470479145646]