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.001058/0.001058, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001614/0.002672, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006483/0.0006483, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009733/0.001622, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8873/0.8873, allocations: 173.4 MB / 186 MB, free: 7.516 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.174/1.061, allocations: 52.48 MB / 238.5 MB, free: 7.605 MB / 234.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 1.953e-06/1.953e-06, allocations: 0 / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.444e-05, allocations: 2.312 kB / 239.8 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004777/0.004801, allocations: 2.894 MB / 242.7 MB, free: 3.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.006345, allocations: 0.6982 MB / 243.4 MB, free: 2.73 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.006562, allocations: 7.938 kB / 243.4 MB, free: 2.723 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.006734, allocations: 59.44 kB / 243.4 MB, free: 2.664 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.006973, allocations: 88.61 kB / 243.5 MB, free: 2.578 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.007256, allocations: 104.9 kB / 243.6 MB, free: 2.477 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.00773, allocations: 387.3 kB / 244 MB, free: 2.098 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.007996, allocations: 127.4 kB / 244.1 MB, free: 1.969 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000447/0.008443, allocations: 245 kB / 244.4 MB, free: 1.73 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.008639, allocations: 115.7 kB / 244.5 MB, free: 1.617 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.268e-05/0.008701, allocations: 36 kB / 244.5 MB, free: 1.582 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.733e-05/0.008759, allocations: 33.16 kB / 244.5 MB, free: 1.551 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.008821, allocations: 55.81 kB / 244.6 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.00894, allocations: 95.81 kB / 244.7 MB, free: 1.402 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.009306, allocations: 236.1 kB / 244.9 MB, free: 1.172 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.265e-05/0.009319, allocations: 0 / 244.9 MB, free: 1.172 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.00932, allocations: 0 / 244.9 MB, free: 1.172 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.009332, allocations: 1 kB / 244.9 MB, free: 1.172 MB / 234.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.000868/0.0102, allocations: 0.5999 MB / 245.5 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.01024, allocations: 8.031 kB / 245.5 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.01033, allocations: 51.42 kB / 245.6 MB, free: 0.4922 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002806/0.01062, allocations: 185.7 kB / 245.7 MB, free: 292 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.01064, allocations: 25.03 kB / 245.8 MB, free: 268 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.0107, allocations: 28.38 kB / 245.8 MB, free: 240 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/0.01108, allocations: 262.8 kB / 246.1 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.01109, allocations: 5.594 kB / 246.1 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.01112, allocations: 16.31 kB / 246.1 MB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.01113, allocations: 11.94 kB / 246.1 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.01128, allocations: 72.56 kB / 246.2 MB, free: 15.86 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.01248, allocations: 0.7056 MB / 246.9 MB, free: 15.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.01269, allocations: 113.3 kB / 247 MB, free: 15 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.01283, allocations: 68.83 kB / 247 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.01286, allocations: 4.969 kB / 247.1 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.01288, allocations: 30.56 kB / 247.1 MB, free: 14.88 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.01289, allocations: 0.9062 kB / 247.1 MB, free: 14.88 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002672/0.01315, allocations: 121.1 kB / 247.2 MB, free: 14.76 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.01319, allocations: 55.41 kB / 247.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.01335, allocations: 196.8 kB / 247.4 MB, free: 14.49 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.01337, allocations: 25.7 kB / 247.5 MB, free: 14.46 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.01375, allocations: 192.3 kB / 247.7 MB, free: 14.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.0138, allocations: 71.36 kB / 247.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.063e-05/0.01388, allocations: 62.56 kB / 247.8 MB, free: 14.13 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01399, allocations: 330.7 kB / 248.1 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.855e-05/0.01403, allocations: 25.05 kB / 248.1 MB, free: 13.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.451e-05/0.01413, allocations: 99.33 kB / 248.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.0143, allocations: 166.8 kB / 248.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.0143, allocations: 0 / 248.4 MB, free: 13.45 MB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002277/0.01453, allocations: 161.3 kB / 248.6 MB, free: 13.29 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.01455, allocations: 4 kB / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.01455, allocations: 4 kB / 248.6 MB, free: 13.28 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01457, allocations: 4 kB / 248.6 MB, free: 13.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003555/0.01493, allocations: 92.08 kB / 248.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.01493, allocations: 4 kB / 248.7 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01505, allocations: 27.81 kB / 248.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01507, allocations: 8 kB / 248.7 MB, free: 13.14 MB / 250.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.736e-05/0.01517, allocations: 125.8 kB / 248.8 MB, free: 13.01 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.01521, allocations: 11.98 kB / 248.8 MB, free: 13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.01541, allocations: 129.3 kB / 249 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01541, allocations: 0 / 249 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01541, allocations: 4.047 kB / 249 MB, free: 12.87 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.01542, allocations: 11.97 kB / 249 MB, free: 12.86 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.01588, allocations: 344.2 kB / 249.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.01589, allocations: 0 / 249.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.01616, allocations: 71.89 kB / 249.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.01619, allocations: 23.8 kB / 249.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.0162, allocations: 7.922 kB / 249.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.01621, allocations: 4 kB / 249.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.01622, allocations: 8.062 kB / 249.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01622, allocations: 0 / 249.4 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.01649, allocations: 255.7 kB / 249.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.156e-05/0.01653, allocations: 8 kB / 249.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.01666, allocations: 16.05 kB / 249.7 MB, free: 12.08 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.01671, allocations: 15.92 kB / 249.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01672, allocations: 11.92 kB / 249.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.546e-05/0.01678, allocations: 57.56 kB / 249.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01678, allocations: 4 kB / 249.8 MB, free: 11.99 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003279/0.01711, allocations: 79.78 kB / 249.9 MB, free: 11.91 MB / 250.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 0.0001531/0.01726, allocations: 84.41 kB / 249.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.01749, allocations: 104.6 kB / 250 MB, free: 11.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.0175, allocations: 4 kB / 250 MB, free: 11.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.0176, allocations: 65.5 kB / 250.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.01802, allocations: 346.9 kB / 250.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.02164, allocations: 0.6383 MB / 251.1 MB, free: 10.56 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.582e-05/0.02172, allocations: 96.3 kB / 251.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.72e-05/0.02181, allocations: 22.08 kB / 251.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.02196, allocations: 91.3 kB / 251.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02196, allocations: 0 / 251.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of Templates: time 0.005962/0.02792, allocations: 2.174 MB / 253.5 MB, free: 8.223 MB / 250.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.497152711264789]