Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.00185, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.476/1.476, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 378.8 MB, free: 2.887 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2943, allocations: 53.37 MB / 432.1 MB, free: 7.105 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004619/0.2989, allocations: 2.929 MB / 435.1 MB, free: 4.164 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0014/0.3003, allocations: 0.7244 MB / 435.8 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.3005, allocations: 11.94 kB / 435.8 MB, free: 3.422 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002767/0.3008, allocations: 63.36 kB / 435.9 MB, free: 3.359 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.301, allocations: 91.19 kB / 436 MB, free: 3.27 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.3012, allocations: 83.89 kB / 436 MB, free: 3.188 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004462/0.3017, allocations: 378.8 kB / 436.4 MB, free: 2.816 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002995/0.302, allocations: 136.5 kB / 436.5 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.3023, allocations: 151.5 kB / 436.7 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.3025, allocations: 159.3 kB / 436.8 MB, free: 2.383 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.6e-05/0.3026, allocations: 36 kB / 436.9 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.3026, allocations: 32 kB / 436.9 MB, free: 2.316 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.3027, allocations: 71.77 kB / 437 MB, free: 2.246 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.3029, allocations: 171.1 kB / 437.1 MB, free: 2.078 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004664/0.3033, allocations: 384.4 kB / 437.5 MB, free: 1.703 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3033, allocations: 0 / 437.5 MB, free: 1.703 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.492e-06/0.3034, allocations: 4 kB / 437.5 MB, free: 1.699 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.168e-05/0.3034, allocations: 0 / 437.5 MB, free: 1.699 MB / 334.1 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.001063/0.3044, allocations: 0.5521 MB / 438.1 MB, free: 1.117 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3045, allocations: 8.031 kB / 438.1 MB, free: 1.109 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.3046, allocations: 40.7 kB / 438.1 MB, free: 1.07 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.305, allocations: 214.7 kB / 438.3 MB, free: 0.8359 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.305, allocations: 21.03 kB / 438.4 MB, free: 0.8125 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.3051, allocations: 32.38 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006369/0.3057, allocations: 290.3 kB / 438.7 MB, free: 0.4961 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3058, allocations: 0 / 438.7 MB, free: 0.4961 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.3058, allocations: 12 kB / 438.7 MB, free: 496 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.3058, allocations: 12 kB / 438.7 MB, free: 484 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005043/0.3063, allocations: 214.5 kB / 438.9 MB, free: 272 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.3081, allocations: 0.9798 MB / 439.9 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.3085, allocations: 154.5 kB / 440 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3088, allocations: 125.1 kB / 440.2 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3088, allocations: 7.891 kB / 440.2 MB, free: 14.92 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3089, allocations: 34.56 kB / 440.2 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=19): time 1.843e-06/0.3089, allocations: 0 / 440.2 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of matching and sorting (n=19): time 0.0006746/0.3095, allocations: 224.1 kB / 440.4 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.3096, allocations: 55.41 kB / 440.5 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3099, allocations: 227 kB / 440.7 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.3099, allocations: 29.7 kB / 440.7 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.31, allocations: 188.4 kB / 440.9 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.592e-05/0.3101, allocations: 79.33 kB / 441 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.3102, allocations: 53.98 kB / 441 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001591/0.3104, allocations: 330.8 kB / 441.4 MB, free: 13.66 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.3106, allocations: 72.52 kB / 441.4 MB, free: 13.59 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.3108, allocations: 138.5 kB / 441.6 MB, free: 13.42 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.3113, allocations: 233.1 kB / 441.8 MB, free: 13.16 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3113, allocations: 0 / 441.8 MB, free: 13.16 MB / 350.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005486/0.3118, allocations: 269.1 kB / 442.1 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.3118, allocations: 10.66 kB / 442.1 MB, free: 12.88 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3119, allocations: 4.25 kB / 442.1 MB, free: 12.88 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.3119, allocations: 8 kB / 442.1 MB, free: 12.87 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.3122, allocations: 71.89 kB / 442.1 MB, free: 12.8 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3122, allocations: 7.938 kB / 442.2 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.3124, allocations: 35.77 kB / 442.2 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.3124, allocations: 12 kB / 442.2 MB, free: 12.75 MB / 350.1 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.000153/0.3125, allocations: 137.8 kB / 442.3 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.3126, allocations: 27.8 kB / 442.4 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004861/0.3131, allocations: 202.9 kB / 442.6 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3131, allocations: 4 kB / 442.6 MB, free: 12.37 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3131, allocations: 0 / 442.6 MB, free: 12.37 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.3131, allocations: 7.922 kB / 442.6 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/0.314, allocations: 0.5731 MB / 443.1 MB, free: 11.73 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.314, allocations: 48 / 443.1 MB, free: 11.73 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002895/0.3143, allocations: 59.89 kB / 443.2 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3143, allocations: 0 / 443.2 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.3144, allocations: 8 kB / 443.2 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3144, allocations: 0 / 443.2 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3144, allocations: 3.938 kB / 443.2 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.315, allocations: 377.4 kB / 443.6 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.696e-05/0.3151, allocations: 27.8 kB / 443.6 MB, free: 11.24 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.3151, allocations: 4.062 kB / 443.6 MB, free: 11.24 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3153, allocations: 19.98 kB / 443.6 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.3154, allocations: 16.09 kB / 443.7 MB, free: 11.2 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3154, allocations: 12 kB / 443.7 MB, free: 11.19 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001638/0.3155, allocations: 156.6 kB / 443.8 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3155, allocations: 3.938 kB / 443.8 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003562/0.3159, allocations: 79.78 kB / 443.9 MB, free: 10.96 MB / 350.1 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.0001405/0.316, allocations: 103.2 kB / 444 MB, free: 10.84 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.00045/0.3165, allocations: 175.6 kB / 444.2 MB, free: 10.67 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3165, allocations: 0 / 444.2 MB, free: 10.67 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.3167, allocations: 82.64 kB / 444.3 MB, free: 10.59 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.317, allocations: 25.28 kB / 444.3 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3185, allocations: 0.8484 MB / 445.1 MB, free: 9.688 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3189, allocations: 0.7675 MB / 445.9 MB, free: 8.895 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.292e-05/0.319, allocations: 25.94 kB / 445.9 MB, free: 8.871 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.319, allocations: 23.44 kB / 445.9 MB, free: 8.848 MB / 350.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.319, allocations: 0 / 445.9 MB, free: 8.848 MB / 350.1 MB
Notification: Performance of Templates: time 0.006312/0.3254, allocations: 2.228 MB / 448.2 MB, free: 6.641 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.739256514236331]