Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 81.42 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 150.9 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 318.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.392e-05, allocations: 3.719 kB / 318.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003062/0.003086, allocations: 2.688 MB / 321.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.004105, allocations: 0.6427 MB / 322.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.004257, allocations: 10 kB / 322.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.004438, allocations: 55.69 kB / 322.3 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.004598, allocations: 92.86 kB / 322.4 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.004849, allocations: 100.5 kB / 322.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.005191, allocations: 399.8 kB / 322.9 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.005419, allocations: 112.6 kB / 323 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.005691, allocations: 220.6 kB / 323.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.005856, allocations: 113 kB / 323.3 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.00591, allocations: 34.22 kB / 323.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.005969, allocations: 33.06 kB / 323.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.006028, allocations: 76.62 kB / 323.5 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.006145, allocations: 121.9 kB / 323.6 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.006535, allocations: 396.2 kB / 324 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.006538, allocations: 5.375 kB / 324 MB, free: 480 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006539, allocations: 3.938 kB / 324 MB, free: 476 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.006546, allocations: 0 / 324 MB, free: 476 kB / 286.1 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.0008234/0.007369, allocations: 0.543 MB / 324.5 MB, free: 56 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.007404, allocations: 10.64 kB / 324.5 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.024e-05/0.007474, allocations: 44.03 kB / 324.6 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.007856, allocations: 217.9 kB / 324.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.007884, allocations: 20.91 kB / 324.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.487e-05/0.007939, allocations: 33.81 kB / 324.9 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.008546, allocations: 331.2 kB / 325.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.008559, allocations: 4.188 kB / 325.2 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.008591, allocations: 12.58 kB / 325.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.008606, allocations: 11.09 kB / 325.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004845/0.009091, allocations: 218.8 kB / 325.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.01063, allocations: 0.8504 MB / 326.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.01099, allocations: 149 kB / 326.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002919/0.01128, allocations: 118.7 kB / 326.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.0113, allocations: 7.016 kB / 326.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.01134, allocations: 36.78 kB / 326.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.01134, allocations: 0 / 326.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006237/0.01196, allocations: 227.7 kB / 326.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.01201, allocations: 53.66 kB / 326.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.01222, allocations: 202.8 kB / 327.1 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.01225, allocations: 31.02 kB / 327.1 MB, free: 14.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.01239, allocations: 196.3 kB / 327.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.01245, allocations: 81.27 kB / 327.4 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.01254, allocations: 52.06 kB / 327.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.01269, allocations: 331.1 kB / 327.7 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.01287, allocations: 67.05 kB / 327.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.01312, allocations: 148.6 kB / 327.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004117/0.01353, allocations: 224.1 kB / 328.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01353, allocations: 1.469 kB / 328.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005288/0.01406, allocations: 272.5 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01408, allocations: 7.016 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.01408, allocations: 2.219 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.0141, allocations: 8.281 kB / 328.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.01441, allocations: 74.02 kB / 328.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.01442, allocations: 3.547 kB / 328.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.01459, allocations: 28.05 kB / 328.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.01461, allocations: 13.94 kB / 328.6 MB, free: 13.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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 0.00016/0.01477, allocations: 147.1 kB / 328.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.656e-05/0.01482, allocations: 18.31 kB / 328.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.01527, allocations: 207.6 kB / 328.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01527, allocations: 2.281 kB / 328.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.01528, allocations: 4.734 kB / 328.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01528, allocations: 0.6562 kB / 328.9 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008411/0.01612, allocations: 0.4947 MB / 329.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01613, allocations: 0 / 329.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.01642, allocations: 56.77 kB / 329.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.01643, allocations: 9.625 kB / 329.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.01645, allocations: 14.77 kB / 329.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.01645, allocations: 2.078 kB / 329.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01645, allocations: 1.25 kB / 329.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.01709, allocations: 366.5 kB / 329.9 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.01713, allocations: 27.22 kB / 329.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.01717, allocations: 8.016 kB / 329.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.01735, allocations: 16.39 kB / 329.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.01741, allocations: 21.05 kB / 329.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01742, allocations: 5.125 kB / 329.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.01755, allocations: 140.3 kB / 330.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 6e-08/0.01755, allocations: 0 / 330.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003524/0.0179, allocations: 80.53 kB / 330.2 MB, free: 12.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.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 (21): * Single equations (assignments): 21 * 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.000135/0.01804, allocations: 99.73 kB / 330.3 MB, free: 12.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004167/0.01846, allocations: 171.6 kB / 330.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.01846, allocations: 1.062 kB / 330.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001805/0.01864, allocations: 79.92 kB / 330.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.01897, allocations: 32.06 kB / 330.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.02024, allocations: 0.6955 MB / 331.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.02043, allocations: 159.9 kB / 331.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.71e-05/0.02053, allocations: 21.19 kB / 331.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.02059, allocations: 24.92 kB / 331.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.02059, allocations: 1.156 kB / 331.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Templates: time 0.006684/0.02727, allocations: 1.805 MB / 333.2 MB, free: 11.03 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.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.480273801833391]