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.0007743/0.0007743, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.003123/0.003123, allocations: 155.5 kB / 24.7 MB, free: 8.895 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.8412/0.8412, allocations: 177 MB / 204.9 MB, free: 5.734 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 2.615e-06/2.615e-06, allocations: 4 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.758e-05, allocations: 3.266 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.002959/0.002986, allocations: 2.716 MB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.003954, allocations: 0.6816 MB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.004091, allocations: 4 kB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.004255, allocations: 71.3 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001237/0.004378, allocations: 91.14 kB / 329.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.004609, allocations: 95.8 kB / 329.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.004898, allocations: 390 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.005105, allocations: 101.8 kB / 329.9 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.005422, allocations: 231.4 kB / 330.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.005539, allocations: 107.7 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.984e-05/0.005578, allocations: 36 kB / 330.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.005608, allocations: 32 kB / 330.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.005649, allocations: 75.73 kB / 330.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.00573, allocations: 115.7 kB / 330.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.006034, allocations: 386.7 kB / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.006038, allocations: 0 / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006039, allocations: 0 / 330.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.006044, allocations: 0 / 330.9 MB, free: 10.23 MB / 298.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.000656/0.0067, allocations: 0.5365 MB / 331.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.006739, allocations: 15.98 kB / 331.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.006798, allocations: 36.7 kB / 331.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.007091, allocations: 205.3 kB / 331.7 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.007111, allocations: 21.03 kB / 331.7 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.007152, allocations: 32.38 kB / 331.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.007524, allocations: 326 kB / 332 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.007534, allocations: 4.188 kB / 332 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.007555, allocations: 8.375 kB / 332.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.007564, allocations: 11.94 kB / 332.1 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.007838, allocations: 202.5 kB / 332.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.00875, allocations: 0.8174 MB / 333.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.00897, allocations: 146.7 kB / 333.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.009066, allocations: 76.75 kB / 333.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.009084, allocations: 8.312 kB / 333.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.009107, allocations: 30.56 kB / 333.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.009108, allocations: 0 / 333.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003494/0.009458, allocations: 216.5 kB / 333.6 MB, free: 7.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.009486, allocations: 51.41 kB / 333.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.009892, allocations: 199.7 kB / 333.8 MB, free: 7.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.009907, allocations: 33.64 kB / 333.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.267e-05/0.00999, allocations: 196.3 kB / 334 MB, free: 6.906 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.01002, allocations: 75.36 kB / 334.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.01008, allocations: 45.7 kB / 334.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.01015, allocations: 326.8 kB / 334.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.01025, allocations: 67.95 kB / 334.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.01036, allocations: 117.9 kB / 334.6 MB, free: 6.25 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.01057, allocations: 189.8 kB / 334.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01057, allocations: 0 / 334.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002711/0.01084, allocations: 241.2 kB / 335.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.01086, allocations: 8 kB / 335.1 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01087, allocations: 3.938 kB / 335.1 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.01088, allocations: 4 kB / 335.1 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.01105, allocations: 68.03 kB / 335.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01106, allocations: 7.984 kB / 335.2 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.347e-05/0.01113, allocations: 19.89 kB / 335.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.01114, allocations: 4 kB / 335.2 MB, free: 5.688 MB / 298.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 9.684e-05/0.01124, allocations: 137.8 kB / 335.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.01126, allocations: 23.89 kB / 335.3 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.01152, allocations: 187.3 kB / 335.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01152, allocations: 0 / 335.5 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01153, allocations: 4 kB / 335.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01153, allocations: 7.984 kB / 335.5 MB, free: 5.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.01173, allocations: 217.1 kB / 335.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.01173, allocations: 0 / 335.7 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.01188, allocations: 59.89 kB / 335.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.01189, allocations: 0 / 335.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.0119, allocations: 0 / 335.8 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.0119, allocations: 3.938 kB / 335.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.0119, allocations: 7.938 kB / 335.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.01226, allocations: 350.3 kB / 336.2 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.316e-05/0.01229, allocations: 19.84 kB / 336.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01231, allocations: 4.062 kB / 336.2 MB, free: 4.629 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.01239, allocations: 15.92 kB / 336.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.291e-05/0.01244, allocations: 24.05 kB / 336.2 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01245, allocations: 8 kB / 336.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.298e-05/0.01253, allocations: 139.2 kB / 336.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01253, allocations: 0 / 336.4 MB, free: 4.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002349/0.01277, allocations: 75.78 kB / 336.4 MB, free: 4.371 MB / 298.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 0.0001044/0.01287, allocations: 99.25 kB / 336.5 MB, free: 4.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.01312, allocations: 147.8 kB / 336.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.01313, allocations: 0 / 336.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.071e-05/0.01322, allocations: 84.03 kB / 336.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.01346, allocations: 20 kB / 336.8 MB, free: 4.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.01442, allocations: 0.7192 MB / 337.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.01453, allocations: 163.3 kB / 337.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.98e-05/0.01458, allocations: 20.5 kB / 337.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01458, allocations: 0 / 337.7 MB, free: 3.059 MB / 298.7 MB Notification: Performance of Templates: time 0.00343/0.01801, allocations: 2.963 MB / 340.6 MB, free: 100 kB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.SeriesResonance.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.287417761981487]