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.001389/0.001389, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.001711/0.001711, allocations: 150.6 kB / 24.81 MB, free: 9.277 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.9963/0.9963, allocations: 173.3 MB / 201.4 MB, free: 9.211 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.854e-06/1.854e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.206e-05, allocations: 6.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00302/0.003042, allocations: 2.835 MB / 271.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.004085, allocations: 0.6698 MB / 271.9 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.00425, allocations: 7.938 kB / 271.9 MB, free: 2.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.004422, allocations: 63.38 kB / 272 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.004572, allocations: 87.14 kB / 272.1 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.004817, allocations: 103.7 kB / 272.2 MB, free: 2.391 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.005155, allocations: 398.7 kB / 272.6 MB, free: 2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002072/0.005362, allocations: 116.8 kB / 272.7 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002891/0.005651, allocations: 219.5 kB / 272.9 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.005776, allocations: 115.7 kB / 273 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.005815, allocations: 36 kB / 273.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/0.005856, allocations: 32 kB / 273.1 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.005902, allocations: 71.69 kB / 273.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.00599, allocations: 127.7 kB / 273.3 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.00625, allocations: 251 kB / 273.5 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.006254, allocations: 4 kB / 273.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006255, allocations: 0 / 273.5 MB, free: 1.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.00626, allocations: 0 / 273.5 MB, free: 1.043 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.000636/0.006896, allocations: 0.6403 MB / 274.2 MB, free: 376 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.006934, allocations: 16.92 kB / 274.2 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.943e-05/0.007003, allocations: 64.7 kB / 274.2 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.007215, allocations: 212 kB / 274.5 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.007234, allocations: 21.03 kB / 274.5 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.007284, allocations: 36.42 kB / 274.5 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.007543, allocations: 250.7 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.007553, allocations: 192 / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.007571, allocations: 16.38 kB / 274.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.007582, allocations: 11.94 kB / 274.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.007687, allocations: 100.4 kB / 274.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/0.008601, allocations: 0.8445 MB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.008753, allocations: 115 kB / 275.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.759e-05/0.008851, allocations: 75.64 kB / 275.9 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.008866, allocations: 8 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.008888, allocations: 33.39 kB / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.008889, allocations: 0 / 275.9 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002109/0.0091, allocations: 141.8 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.009123, allocations: 59.3 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.009247, allocations: 245.7 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.00926, allocations: 29.7 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.009356, allocations: 247 kB / 276.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.009395, allocations: 79.3 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.009452, allocations: 63.61 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.009573, allocations: 0.4962 MB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.535e-05/0.009609, allocations: 24.53 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/0.009688, allocations: 133.6 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.009836, allocations: 188.3 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.009841, allocations: 4 kB / 277.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001931/0.01003, allocations: 197.1 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01005, allocations: 8 kB / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01005, allocations: 256 / 277.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.01007, allocations: 8 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.01023, allocations: 67.91 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01023, allocations: 7.938 kB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.0103, allocations: 23.84 kB / 277.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.01031, allocations: 15.98 kB / 278 MB, free: 12.28 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 9.114e-05/0.01041, allocations: 176.4 kB / 278.1 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.982e-05/0.01044, allocations: 19.91 kB / 278.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.01061, allocations: 146.2 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.01061, allocations: 11.98 kB / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01061, allocations: 0 / 278.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01062, allocations: 3.938 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.01101, allocations: 468.2 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.01101, allocations: 0 / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.01115, allocations: 51.91 kB / 278.8 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.01116, allocations: 4 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.01117, allocations: 4 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.01117, allocations: 7.938 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.01117, allocations: 4.062 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.0114, allocations: 335.5 kB / 279.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.01142, allocations: 15.91 kB / 279.2 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.01144, allocations: 15.92 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.01152, allocations: 11.94 kB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.01155, allocations: 19.97 kB / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.01156, allocations: 0 / 279.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.928e-05/0.01163, allocations: 175.9 kB / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01163, allocations: 0 / 279.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002341/0.01186, allocations: 87.73 kB / 279.5 MB, free: 10.67 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 0.000101/0.01196, allocations: 95.25 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.01212, allocations: 119.4 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01212, allocations: 4 kB / 279.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-05/0.01217, allocations: 51.59 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.01239, allocations: 43.58 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.01343, allocations: 0.7064 MB / 280.5 MB, free: 9.602 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.01347, allocations: 83.97 kB / 280.6 MB, free: 9.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.162e-05/0.01354, allocations: 25.94 kB / 280.6 MB, free: 9.477 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.72e-05/0.01363, allocations: 106.2 kB / 280.7 MB, free: 9.371 MB / 266.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01363, allocations: 4 kB / 280.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of Templates: time 0.004071/0.01771, allocations: 1.987 MB / 282.7 MB, free: 7.418 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: 2.8514282619580626]