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.000773/0.000773, allocations: 84 kB / 21.43 MB, free: 3.133 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.003311/0.003311, allocations: 143 kB / 24.68 MB, free: 9.426 MB / 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.8204/0.8204, allocations: 173.4 MB / 201.2 MB, free: 9.426 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 1.673e-06/1.673e-06, allocations: 0 / 319.7 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.686e-05, allocations: 2.281 kB / 319.7 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002635/0.002662, allocations: 2.687 MB / 322.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.003523, allocations: 0.6466 MB / 323 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.003648, allocations: 7.938 kB / 323 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.00381, allocations: 67.36 kB / 323.1 MB, free: 2.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.003932, allocations: 87.14 kB / 323.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.004154, allocations: 99.8 kB / 323.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.004438, allocations: 390.7 kB / 323.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002097/0.004648, allocations: 116.8 kB / 323.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.004866, allocations: 223.5 kB / 324 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.004982, allocations: 115.7 kB / 324.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.223e-05/0.005024, allocations: 32 kB / 324.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.229e-05/0.005056, allocations: 36 kB / 324.2 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.005099, allocations: 71.73 kB / 324.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.005174, allocations: 115.8 kB / 324.4 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.005481, allocations: 398.6 kB / 324.8 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.005484, allocations: 4 kB / 324.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.005485, allocations: 0 / 324.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.005491, allocations: 0 / 324.8 MB, free: 0.7344 MB / 282.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.0006504/0.006142, allocations: 0.5521 MB / 325.3 MB, free: 156 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.006178, allocations: 8.922 kB / 325.3 MB, free: 148 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.575e-05/0.006234, allocations: 36.7 kB / 325.4 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.006515, allocations: 209.2 kB / 325.6 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.006535, allocations: 25.03 kB / 325.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.006574, allocations: 28.38 kB / 325.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.006923, allocations: 341.9 kB / 325.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.006933, allocations: 192 / 325.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.006956, allocations: 16.38 kB / 326 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.006963, allocations: 15.94 kB / 326 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002634/0.007227, allocations: 210.5 kB / 326.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.008148, allocations: 0.8564 MB / 327 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.008369, allocations: 142.6 kB / 327.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.008538, allocations: 120.8 kB / 327.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.008555, allocations: 11.92 kB / 327.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.008575, allocations: 30.56 kB / 327.3 MB, free: 14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.664e-06/0.008577, allocations: 8 kB / 327.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003484/0.008926, allocations: 221.7 kB / 327.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.008955, allocations: 55.41 kB / 327.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.009079, allocations: 199.7 kB / 327.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.009095, allocations: 33.7 kB / 327.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.009174, allocations: 196.3 kB / 328 MB, free: 13.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.009216, allocations: 79.31 kB / 328.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.009271, allocations: 45.98 kB / 328.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.771e-05/0.009348, allocations: 334.8 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.817e-05/0.009446, allocations: 68.52 kB / 328.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.009572, allocations: 147.2 kB / 328.7 MB, free: 12.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.009794, allocations: 225.2 kB / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.009796, allocations: 0 / 328.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002757/0.01007, allocations: 269.2 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01009, allocations: 8.25 kB / 329.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01009, allocations: 4 kB / 329.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.01011, allocations: 7.938 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.01028, allocations: 75.83 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01028, allocations: 4 kB / 329.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.384e-05/0.01036, allocations: 27.83 kB / 329.3 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.01037, allocations: 12 kB / 329.3 MB, free: 11.89 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 8.846e-05/0.01046, allocations: 141.8 kB / 329.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.01048, allocations: 19.91 kB / 329.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.01072, allocations: 206.2 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.01073, allocations: 4 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01073, allocations: 3.938 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01074, allocations: 3.984 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.01119, allocations: 0.4942 MB / 330.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01119, allocations: 64 / 330.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.01134, allocations: 71.84 kB / 330.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.01135, allocations: 7.938 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.01136, allocations: 0 / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.01136, allocations: 4 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01136, allocations: 3.984 kB / 330.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.0117, allocations: 369.4 kB / 330.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.938e-05/0.01172, allocations: 19.8 kB / 330.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01174, allocations: 16 kB / 330.7 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.01182, allocations: 11.98 kB / 330.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.01186, allocations: 19.97 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01187, allocations: 4 kB / 330.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.01194, allocations: 139.2 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01194, allocations: 0 / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002119/0.01215, allocations: 79.78 kB / 330.9 MB, free: 10.21 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 0.0001011/0.01225, allocations: 103.2 kB / 331 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.01249, allocations: 171.7 kB / 331.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.0125, allocations: 0 / 331.2 MB, free: 9.934 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.01258, allocations: 75.89 kB / 331.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.01282, allocations: 40.48 kB / 331.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000886/0.0137, allocations: 0.732 MB / 332 MB, free: 9.051 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.872e-05/0.0138, allocations: 159.1 kB / 332.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.01385, allocations: 20.5 kB / 332.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01385, allocations: 0 / 332.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of Templates: time 0.003343/0.01719, allocations: 3.031 MB / 335.2 MB, free: 5.836 MB / 298.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=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.062046194449067]