Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.0009929/0.0009929, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001236/0.001236, allocations: 163.4 kB / 24.99 MB, free: 8.344 MB / 18.57 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 0.9831/0.9831, allocations: 177.1 MB / 205.3 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.665e-05, allocations: 2.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.003284/0.00331, allocations: 2.896 MB / 276 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.004513, allocations: 0.7009 MB / 276.7 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.004675, allocations: 4 kB / 276.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.004854, allocations: 59.44 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.004996, allocations: 87.14 kB / 276.8 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.00528, allocations: 99.73 kB / 276.9 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.005662, allocations: 390.2 kB / 277.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.005894, allocations: 101.8 kB / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.006427, allocations: 227.5 kB / 277.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.006581, allocations: 119.5 kB / 277.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.821e-05/0.006619, allocations: 32 kB / 277.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.335e-05/0.006652, allocations: 32 kB / 277.8 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.006698, allocations: 75.73 kB / 277.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.583e-05/0.006794, allocations: 115.7 kB / 278 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.00706, allocations: 247.1 kB / 278.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.007064, allocations: 0 / 278.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.007065, allocations: 4 kB / 278.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007071, allocations: 0 / 278.2 MB, free: 12.66 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.0006546/0.007725, allocations: 0.6324 MB / 278.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.007767, allocations: 8.031 kB / 278.9 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.717e-05/0.007854, allocations: 68.7 kB / 278.9 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.008097, allocations: 204.1 kB / 279.1 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.008116, allocations: 29.03 kB / 279.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.3e-05/0.008159, allocations: 28.38 kB / 279.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.008482, allocations: 274.7 kB / 279.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.008493, allocations: 192 / 279.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.008516, allocations: 16.38 kB / 279.5 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.008529, allocations: 15.91 kB / 279.5 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.008698, allocations: 107.9 kB / 279.6 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.009668, allocations: 0.8596 MB / 280.4 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.009844, allocations: 115.1 kB / 280.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.506e-05/0.009909, allocations: 51.66 kB / 280.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.009926, allocations: 8 kB / 280.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.009951, allocations: 37.39 kB / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.009953, allocations: 0 / 280.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002555/0.01021, allocations: 152.2 kB / 280.8 MB, free: 9.898 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.01024, allocations: 51.41 kB / 280.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.01065, allocations: 248 kB / 281.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.01067, allocations: 33.7 kB / 281.1 MB, free: 9.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.01077, allocations: 243 kB / 281.4 MB, free: 9.297 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.01081, allocations: 63.44 kB / 281.4 MB, free: 9.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.01087, allocations: 55.36 kB / 281.5 MB, free: 9.172 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01098, allocations: 0.5001 MB / 282 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.642e-05/0.01104, allocations: 31.98 kB / 282 MB, free: 8.629 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.513e-05/0.01112, allocations: 101.8 kB / 282.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.01127, allocations: 153.5 kB / 282.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01127, allocations: 0 / 282.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002115/0.01148, allocations: 177.3 kB / 282.4 MB, free: 8.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.0115, allocations: 12.12 kB / 282.4 MB, free: 8.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.01151, allocations: 3.938 kB / 282.5 MB, free: 8.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.01152, allocations: 4 kB / 282.5 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01169, allocations: 63.91 kB / 282.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.0117, allocations: 0 / 282.5 MB, free: 8.059 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.359e-05/0.01176, allocations: 19.89 kB / 282.5 MB, free: 8.039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.01178, allocations: 11.98 kB / 282.5 MB, free: 8.027 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 8.724e-05/0.01186, allocations: 172.5 kB / 282.7 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.0119, allocations: 27.86 kB / 282.7 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.01207, allocations: 146.5 kB / 282.9 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01208, allocations: 4 kB / 282.9 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.01208, allocations: 4 kB / 282.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01209, allocations: 3.984 kB / 282.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.01227, allocations: 216.5 kB / 283.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01227, allocations: 0 / 283.1 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.01247, allocations: 47.97 kB / 283.2 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01247, allocations: 4 kB / 283.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.01249, allocations: 48 / 283.2 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01249, allocations: 7.875 kB / 283.2 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01249, allocations: 3.984 kB / 283.2 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.01281, allocations: 323.7 kB / 283.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.378e-05/0.01283, allocations: 23.8 kB / 283.5 MB, free: 6.996 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.01286, allocations: 4 kB / 283.5 MB, free: 6.992 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01296, allocations: 23.92 kB / 283.5 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.013, allocations: 11.97 kB / 283.6 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.01301, allocations: 8 kB / 283.6 MB, free: 6.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.617e-05/0.01309, allocations: 171.3 kB / 283.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01309, allocations: 0 / 283.7 MB, free: 6.781 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.0133, allocations: 83.72 kB / 283.8 MB, free: 6.699 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 9.279e-05/0.01339, allocations: 103.2 kB / 283.9 MB, free: 6.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.01358, allocations: 115.5 kB / 284 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01358, allocations: 0 / 284 MB, free: 6.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.731e-05/0.01364, allocations: 51.61 kB / 284.1 MB, free: 6.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.01386, allocations: 31.14 kB / 284.1 MB, free: 6.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.0149, allocations: 0.689 MB / 284.8 MB, free: 5.672 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.01496, allocations: 92.06 kB / 284.9 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.213e-05/0.01501, allocations: 17.62 kB / 284.9 MB, free: 5.543 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.01505, allocations: 24.5 kB / 284.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01505, allocations: 0 / 284.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of Templates: time 0.006044/0.02109, allocations: 1.781 MB / 286.7 MB, free: 3.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.9627421479672194]