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.001178/0.001178, allocations: 75.91 kB / 21.18 MB, free: 3.395 MB / 18.57 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.0009851/0.0009851, allocations: 145.5 kB / 24.54 MB, free: 36 kB / 18.57 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 0.9585/0.9585, allocations: 173.4 MB / 201.1 MB, free: 9.344 MB / 186.7 MB " [Timeout remaining time 179] 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 2.274e-06/2.274e-06, allocations: 3.984 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.912e-05, allocations: 10.25 kB / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003156/0.003175, allocations: 2.866 MB / 270.9 MB, free: 3.547 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009838/0.004159, allocations: 0.6775 MB / 271.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.004291, allocations: 8 kB / 271.6 MB, free: 2.855 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.004468, allocations: 59.44 kB / 271.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.004583, allocations: 83.14 kB / 271.7 MB, free: 2.715 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.004802, allocations: 107.7 kB / 271.8 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.005071, allocations: 390.7 kB / 272.2 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.005313, allocations: 120.7 kB / 272.3 MB, free: 2.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002765/0.005589, allocations: 223.6 kB / 272.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.005732, allocations: 123.6 kB / 272.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.005777, allocations: 32 kB / 272.7 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.811e-05/0.005815, allocations: 32 kB / 272.7 MB, free: 1.703 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.724e-05/0.005872, allocations: 71.75 kB / 272.8 MB, free: 1.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.968e-05/0.005972, allocations: 115.7 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.006282, allocations: 255 kB / 273.1 MB, free: 1.27 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.006286, allocations: 4 kB / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.006286, allocations: 0 / 273.1 MB, free: 1.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.006293, allocations: 0 / 273.1 MB, free: 1.266 MB / 250.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.0006389/0.006932, allocations: 0.6442 MB / 273.8 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.006969, allocations: 8.922 kB / 273.8 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.007045, allocations: 64.7 kB / 273.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.007269, allocations: 216 kB / 274.1 MB, free: 284 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.007291, allocations: 25.03 kB / 274.1 MB, free: 256 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.007336, allocations: 32.38 kB / 274.1 MB, free: 224 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003406/0.007677, allocations: 278.8 kB / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.007687, allocations: 192 / 274.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.007709, allocations: 12.38 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.007721, allocations: 11.94 kB / 274.4 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.00789, allocations: 115.8 kB / 274.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009771/0.008867, allocations: 0.8908 MB / 275.4 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.009048, allocations: 111 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.00919, allocations: 91.64 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.009212, allocations: 3.984 kB / 275.6 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.009241, allocations: 41.39 kB / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.132e-06/0.009242, allocations: 0 / 275.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000266/0.009508, allocations: 157.7 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.009533, allocations: 59.36 kB / 275.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.009668, allocations: 245.5 kB / 276.1 MB, free: 14.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.009683, allocations: 29.7 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.009783, allocations: 247 kB / 276.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.009825, allocations: 75.31 kB / 276.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.009881, allocations: 59.64 kB / 276.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01, allocations: 0.5001 MB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.714e-05/0.01006, allocations: 32.53 kB / 277.1 MB, free: 13.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.861e-05/0.01016, allocations: 137.6 kB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.01033, allocations: 196.3 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01033, allocations: 4 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002238/0.01056, allocations: 217.1 kB / 277.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01057, allocations: 4 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01057, allocations: 4 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.01059, allocations: 7.938 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.01077, allocations: 64.16 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01077, allocations: 8 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.01084, allocations: 31.83 kB / 277.7 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.01086, allocations: 16 kB / 277.7 MB, free: 12.34 MB / 266.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 0.0001001/0.01096, allocations: 172.5 kB / 277.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.01099, allocations: 19.91 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.01118, allocations: 154.3 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.01118, allocations: 4 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01118, allocations: 3.938 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.01119, allocations: 0 / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004081/0.0116, allocations: 0.5036 MB / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.0116, allocations: 0 / 278.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.01175, allocations: 55.91 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01175, allocations: 3.938 kB / 278.6 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.01176, allocations: 8 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.01177, allocations: 0 / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.01177, allocations: 3.984 kB / 278.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.01204, allocations: 355.4 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.01206, allocations: 23.84 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.01208, allocations: 11.94 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.73e-05/0.01215, allocations: 15.98 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.0122, allocations: 15.98 kB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01221, allocations: 7.984 kB / 279.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.577e-05/0.01229, allocations: 175.9 kB / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01229, allocations: 0 / 279.2 MB, free: 10.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.0125, allocations: 87.72 kB / 279.3 MB, free: 10.64 MB / 266.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 9.159e-05/0.01259, allocations: 106.9 kB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.01277, allocations: 123.4 kB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01277, allocations: 0 / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.01284, allocations: 59.59 kB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01306, allocations: 31.92 kB / 279.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01407, allocations: 0.715 MB / 280.4 MB, free: 9.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.105e-05/0.01412, allocations: 87.97 kB / 280.4 MB, free: 9.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.01417, allocations: 25.94 kB / 280.5 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.271e-05/0.01422, allocations: 20.5 kB / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01422, allocations: 0 / 280.5 MB, free: 9.414 MB / 266.7 MB Notification: Performance of Templates: time 0.003622/0.01784, allocations: 1.826 MB / 282.3 MB, free: 7.609 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1414889278821647]