Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.001345/0.001345, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001432/0.001432, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.449/1.449, allocations: 230.3 MB / 258 MB, free: 8.227 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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance")
translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003212/0.003212, allocations: 59.89 kB / 378.7 MB, free: 2.781 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2609, allocations: 53.38 MB / 432.1 MB, free: 7.047 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005316/0.2662, allocations: 3.737 MB / 435.9 MB, free: 3.297 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002497/0.2687, allocations: 1.526 MB / 437.4 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.2689, allocations: 12 kB / 437.4 MB, free: 1.75 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001805/0.2707, allocations: 0.7503 MB / 438.2 MB, free: 1 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008691/0.2715, allocations: 394 kB / 438.5 MB, free: 0.6133 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.2726, allocations: 0.5636 MB / 439.1 MB, free: 56 kB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005571/0.2732, allocations: 470 kB / 439.6 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006694/0.2739, allocations: 370.1 kB / 439.9 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.2742, allocations: 227.1 kB / 440.1 MB, free: 15.01 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.2745, allocations: 271 kB / 440.4 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.909e-05/0.2746, allocations: 48 kB / 440.5 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.275, allocations: 215.8 kB / 440.7 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.2752, allocations: 111.6 kB / 440.8 MB, free: 14.38 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.2754, allocations: 234.8 kB / 441 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008721/0.2762, allocations: 0.6986 MB / 441.7 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2763, allocations: 0 / 441.7 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.232e-06/0.2763, allocations: 0 / 441.7 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.294e-05/0.2763, allocations: 4 kB / 441.7 MB, free: 13.44 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 134
 * Number of variables: 134
Notification: Performance of Generate backend data structure: time 0.00226/0.2785, allocations: 0.8524 MB / 442.6 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.2786, allocations: 15.97 kB / 442.6 MB, free: 12.54 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003612/0.2822, allocations: 476.1 kB / 443 MB, free: 12.08 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.2827, allocations: 249.9 kB / 443.3 MB, free: 11.81 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.2827, allocations: 37.69 kB / 443.3 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.825e-05/0.2828, allocations: 56.38 kB / 443.4 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.2839, allocations: 0.5337 MB / 443.9 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.2839, allocations: 0 / 443.9 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-05/0.284, allocations: 20 kB / 443.9 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.284, allocations: 12 kB / 443.9 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.2851, allocations: 0.5829 MB / 444.5 MB, free: 10.56 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.2882, allocations: 1.727 MB / 446.2 MB, free: 8.762 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.2897, allocations: 0.5637 MB / 446.8 MB, free: 8.195 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.2901, allocations: 232.2 kB / 447 MB, free: 7.969 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.726e-05/0.2902, allocations: 24.41 kB / 447.1 MB, free: 7.945 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.2903, allocations: 43 kB / 447.1 MB, free: 7.895 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=47): time 1.693e-06/0.2903, allocations: 0 / 447.1 MB, free: 7.895 MB / 350.1 MB
Notification: Performance of matching and sorting (n=47): time 0.001884/0.2921, allocations: 0.6597 MB / 447.8 MB, free: 7.223 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2922, allocations: 59.84 kB / 447.8 MB, free: 7.152 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.2924, allocations: 191 kB / 448 MB, free: 6.957 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.2924, allocations: 29.7 kB / 448 MB, free: 6.922 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.2926, allocations: 224.9 kB / 448.3 MB, free: 6.695 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.2927, allocations: 174.5 kB / 448.4 MB, free: 6.523 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.2929, allocations: 82.19 kB / 448.5 MB, free: 6.438 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001597/0.293, allocations: 334.8 kB / 448.8 MB, free: 6.102 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.2933, allocations: 152.9 kB / 449 MB, free: 5.953 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.2937, allocations: 241.8 kB / 449.2 MB, free: 5.684 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.2945, allocations: 428.8 kB / 449.6 MB, free: 5.23 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2945, allocations: 0 / 449.6 MB, free: 5.23 MB / 350.1 MB
Notification: Performance of matching and sorting (n=59) (initialization): time 0.001117/0.2956, allocations: 0.5397 MB / 450.2 MB, free: 4.684 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.2956, allocations: 8 kB / 450.2 MB, free: 4.676 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2956, allocations: 0 / 450.2 MB, free: 4.676 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.296, allocations: 76.81 kB / 450.3 MB, free: 4.598 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004032/0.2964, allocations: 99.81 kB / 450.4 MB, free: 4.5 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.2984, allocations: 1.671 MB / 452 MB, free: 2.715 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.2986, allocations: 51.66 kB / 452.1 MB, free: 2.664 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.27e-05/0.2987, allocations: 19.98 kB / 452.1 MB, free: 2.645 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * 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 (52):
 * Single equations (assignments): 51
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.000215/0.2989, allocations: 165.7 kB / 452.3 MB, free: 2.473 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.063e-05/0.299, allocations: 27.81 kB / 452.3 MB, free: 2.445 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.3002, allocations: 0.5396 MB / 452.8 MB, free: 1.895 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.3002, allocations: 4 kB / 452.8 MB, free: 1.891 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3002, allocations: 4 kB / 452.8 MB, free: 1.887 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3002, allocations: 0 / 452.8 MB, free: 1.887 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.3021, allocations: 1.112 MB / 453.9 MB, free: 0.7188 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3021, allocations: 3.938 kB / 454 MB, free: 0.7148 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.3024, allocations: 79.89 kB / 454 MB, free: 0.6367 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.3027, allocations: 84.8 kB / 454.1 MB, free: 0.5508 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.3027, allocations: 12 kB / 454.1 MB, free: 0.5391 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.3046, allocations: 1.666 MB / 455.8 MB, free: 14.76 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.3046, allocations: 0 / 455.8 MB, free: 14.76 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.306, allocations: 0.8107 MB / 456.6 MB, free: 13.92 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.3061, allocations: 23.83 kB / 456.6 MB, free: 13.9 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/0.3061, allocations: 12 kB / 456.6 MB, free: 13.89 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.3064, allocations: 15.98 kB / 456.7 MB, free: 13.87 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/0.3065, allocations: 52.28 kB / 456.7 MB, free: 13.82 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.3065, allocations: 23.88 kB / 456.7 MB, free: 13.8 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.000138/0.3067, allocations: 135.2 kB / 456.9 MB, free: 13.66 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3067, allocations: 0 / 456.9 MB, free: 13.66 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0005559/0.3072, allocations: 147.7 kB / 457 MB, free: 13.52 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 1 (currentSource.pin_p.reference.gamma)
 * 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 (44):
 * Single equations (assignments): 43
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002649/0.3075, allocations: 143.1 kB / 457.1 MB, free: 13.37 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001144/0.3086, allocations: 0.5463 MB / 457.7 MB, free: 12.81 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3086, allocations: 0 / 457.7 MB, free: 12.81 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006105/0.3092, allocations: 353.7 kB / 458 MB, free: 12.45 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.3096, allocations: 42.62 kB / 458.1 MB, free: 12.41 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3109, allocations: 0.8329 MB / 458.9 MB, free: 11.55 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.3114, allocations: 0.8045 MB / 459.7 MB, free: 10.72 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001732/0.3115, allocations: 46.97 kB / 459.8 MB, free: 10.67 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.981e-05/0.3116, allocations: 31.42 kB / 459.8 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of SimCode: time 3.71e-07/0.3116, allocations: 0 / 459.8 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of Templates: time 0.009973/0.3216, allocations: 4.739 MB / 464.5 MB, free: 5.906 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.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.534341306425631]