Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.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.0008059/0.0008059, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00318/0.00318, allocations: 156 kB / 24.7 MB, free: 9.434 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.849/0.849, allocations: 177 MB / 204.8 MB, free: 5.738 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.668e-05/1.793e-05, allocations: 2.281 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002867/0.002885, allocations: 2.719 MB / 328.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.003847, allocations: 0.6777 MB / 329.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.003981, allocations: 11.94 kB / 329.2 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.004141, allocations: 59.42 kB / 329.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.004266, allocations: 91.12 kB / 329.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.004485, allocations: 91.81 kB / 329.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002813/0.004766, allocations: 402.7 kB / 329.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.004959, allocations: 112.8 kB / 329.9 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002929/0.005252, allocations: 239.4 kB / 330.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.005365, allocations: 103.7 kB / 330.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.0054, allocations: 36 kB / 330.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.005428, allocations: 32 kB / 330.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.921e-05/0.005467, allocations: 75.72 kB / 330.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.005803, allocations: 119.7 kB / 330.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.006082, allocations: 398.7 kB / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006084, allocations: 0 / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006085, allocations: 0 / 330.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.00609, allocations: 0 / 330.9 MB, free: 10.2 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.0006129/0.006703, allocations: 0.5482 MB / 331.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.006736, allocations: 11.98 kB / 331.5 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.00679, allocations: 40.7 kB / 331.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.007025, allocations: 197.3 kB / 331.7 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.007044, allocations: 25.03 kB / 331.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.007086, allocations: 32.38 kB / 331.8 MB, free: 9.293 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.007439, allocations: 334 kB / 332.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.00745, allocations: 4.188 kB / 332.1 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.007471, allocations: 12.38 kB / 332.1 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.007479, allocations: 11.94 kB / 332.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/0.007743, allocations: 214.5 kB / 332.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.008649, allocations: 0.8564 MB / 333.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.008856, allocations: 142.6 kB / 333.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.00902, allocations: 124.8 kB / 333.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.009036, allocations: 11.92 kB / 333.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.009057, allocations: 34.56 kB / 333.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.062e-06/0.009058, allocations: 0 / 333.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003543/0.009412, allocations: 225.6 kB / 333.7 MB, free: 7.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.009442, allocations: 51.41 kB / 333.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.009578, allocations: 202.3 kB / 334 MB, free: 6.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.009594, allocations: 37.64 kB / 334 MB, free: 6.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.009678, allocations: 200.2 kB / 334.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.009713, allocations: 75.38 kB / 334.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.009764, allocations: 53.98 kB / 334.3 MB, free: 6.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.884e-05/0.009843, allocations: 330.8 kB / 334.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.256e-05/0.009935, allocations: 64.53 kB / 334.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.01006, allocations: 151 kB / 334.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.01028, allocations: 225.3 kB / 335.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01029, allocations: 3.984 kB / 335.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002802/0.01057, allocations: 277.2 kB / 335.4 MB, free: 5.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.01058, allocations: 4 kB / 335.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01059, allocations: 4 kB / 335.4 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.0106, allocations: 7.938 kB / 335.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.01076, allocations: 67.91 kB / 335.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01077, allocations: 7.984 kB / 335.4 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.01084, allocations: 23.84 kB / 335.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.01086, allocations: 16 kB / 335.5 MB, free: 5.352 MB / 298.7 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 9.685e-05/0.01095, allocations: 149.8 kB / 335.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.01098, allocations: 15.91 kB / 335.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.01122, allocations: 203.2 kB / 335.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01122, allocations: 4 kB / 335.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.01123, allocations: 3.938 kB / 335.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01123, allocations: 0 / 335.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.01166, allocations: 0.4986 MB / 336.3 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01166, allocations: 4 kB / 336.4 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.0118, allocations: 55.89 kB / 336.4 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01181, allocations: 7.938 kB / 336.4 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.01182, allocations: 4 kB / 336.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.01182, allocations: 4 kB / 336.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01182, allocations: 0 / 336.4 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.01216, allocations: 372.5 kB / 336.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.01218, allocations: 27.89 kB / 336.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.0122, allocations: 7.938 kB / 336.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.01228, allocations: 20.05 kB / 336.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.01232, allocations: 19.97 kB / 336.9 MB, free: 3.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.01233, allocations: 4 kB / 336.9 MB, free: 3.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.0124, allocations: 148.2 kB / 337 MB, free: 3.742 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0124, allocations: 4 kB / 337 MB, free: 3.738 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000205/0.01261, allocations: 75.84 kB / 337.1 MB, free: 3.664 MB / 298.7 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 7.438e-05/0.01268, allocations: 99.19 kB / 337.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.01291, allocations: 171.7 kB / 337.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01291, allocations: 0 / 337.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.013, allocations: 76.45 kB / 337.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000459/0.01346, allocations: 43.62 kB / 337.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007416/0.0142, allocations: 0.7171 MB / 338.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.918e-05/0.01429, allocations: 155.1 kB / 338.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.01434, allocations: 28.48 kB / 338.4 MB, free: 2.316 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01434, allocations: 7.938 kB / 338.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of Templates: time 0.002875/0.01721, allocations: 3.033 MB / 341.4 MB, free: 15.29 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.187866584397852]