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.002547/0.002547, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002714/0.002714, allocations: 153.1 kB / 24.27 MB, free: 168 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 1.619/1.619, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 MB " [Timeout remaining time 178] 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.252e-06/1.252e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.619e-05, allocations: 6.25 kB / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004702/0.004728, allocations: 2.828 MB / 270.2 MB, free: 3.871 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.006002, allocations: 0.6659 MB / 270.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.006147, allocations: 4 kB / 270.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.006347, allocations: 63.38 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.006534, allocations: 87.14 kB / 271 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.006807, allocations: 103.7 kB / 271.1 MB, free: 2.945 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004628/0.00727, allocations: 390.7 kB / 271.5 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.00753, allocations: 120.8 kB / 271.6 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.007874, allocations: 227.5 kB / 271.8 MB, free: 2.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.008081, allocations: 111.7 kB / 271.9 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.034e-05/0.008142, allocations: 32 kB / 271.9 MB, free: 2.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.798e-05/0.00821, allocations: 36 kB / 272 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.399e-05/0.008294, allocations: 75.69 kB / 272.1 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.00845, allocations: 123.7 kB / 272.2 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.008949, allocations: 390.7 kB / 272.6 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.008956, allocations: 4 kB / 272.6 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.008958, allocations: 0 / 272.6 MB, free: 1.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.008964, allocations: 0 / 272.6 MB, free: 1.461 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.0011/0.01006, allocations: 0.6673 MB / 273.2 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.0101, allocations: 12.91 kB / 273.2 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.01023, allocations: 64.7 kB / 273.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.01056, allocations: 212 kB / 273.5 MB, free: 460 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.01059, allocations: 25.03 kB / 273.5 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.38e-05/0.01065, allocations: 40.36 kB / 273.6 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005623/0.01121, allocations: 314 kB / 273.9 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01123, allocations: 192 / 273.9 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.01126, allocations: 20.31 kB / 273.9 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.01128, allocations: 15.92 kB / 273.9 MB, free: 24 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.01173, allocations: 198.5 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.01377, allocations: 0.9846 MB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.01411, allocations: 151 kB / 275.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.01438, allocations: 119.6 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.01441, allocations: 4 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.01445, allocations: 33.39 kB / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.01445, allocations: 0 / 275.4 MB, free: 14.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005393/0.01499, allocations: 213.7 kB / 275.6 MB, free: 14.24 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.01504, allocations: 55.41 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.01532, allocations: 281.5 kB / 275.9 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.01535, allocations: 33.7 kB / 276 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.01553, allocations: 247 kB / 276.2 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/0.01561, allocations: 79.31 kB / 276.3 MB, free: 13.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.01572, allocations: 71.64 kB / 276.4 MB, free: 13.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002824/0.016, allocations: 0.5079 MB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.01615, allocations: 56.55 kB / 276.9 MB, free: 12.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.0164, allocations: 174.4 kB / 277.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.01681, allocations: 260.3 kB / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01682, allocations: 0 / 277.3 MB, free: 12.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005163/0.01733, allocations: 269.2 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.01735, allocations: 8 kB / 277.6 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.01736, allocations: 4.25 kB / 277.6 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.01738, allocations: 11.94 kB / 277.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.01767, allocations: 63.91 kB / 277.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.01768, allocations: 7.984 kB / 277.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.01783, allocations: 23.84 kB / 277.7 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.01786, allocations: 12 kB / 277.7 MB, free: 11.95 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.0001757/0.01804, allocations: 188.5 kB / 277.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.01809, allocations: 23.91 kB / 277.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.01849, allocations: 194.4 kB / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0185, allocations: 4 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.0185, allocations: 3.938 kB / 278.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01851, allocations: 4 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008819/0.01939, allocations: 0.5778 MB / 278.7 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.0194, allocations: 4 kB / 278.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.01968, allocations: 55.91 kB / 278.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.01969, allocations: 7.938 kB / 278.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.0197, allocations: 4 kB / 278.8 MB, free: 10.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.01971, allocations: 12.06 kB / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01971, allocations: 0 / 278.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006377/0.02035, allocations: 419.4 kB / 279.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.02039, allocations: 23.84 kB / 279.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.02042, allocations: 3.938 kB / 279.2 MB, free: 10.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.02058, allocations: 19.92 kB / 279.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.02064, allocations: 19.97 kB / 279.3 MB, free: 10.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.02065, allocations: 4 kB / 279.3 MB, free: 10.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.02085, allocations: 203.9 kB / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02085, allocations: 0 / 279.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.0212, allocations: 79.78 kB / 279.6 MB, free: 10.03 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.0001516/0.02135, allocations: 107.2 kB / 279.7 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004154/0.02177, allocations: 171.4 kB / 279.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.02177, allocations: 0.5 kB / 279.8 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.02193, allocations: 87.59 kB / 279.9 MB, free: 9.648 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.02225, allocations: 39.8 kB / 280 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.0236, allocations: 0.7224 MB / 280.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.0238, allocations: 159.1 kB / 280.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.678e-05/0.02388, allocations: 21.95 kB / 280.9 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.02394, allocations: 24.48 kB / 280.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02395, allocations: 0 / 280.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of Templates: time 0.006184/0.03013, allocations: 1.825 MB / 282.7 MB, free: 6.836 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","/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.738712133956142]