Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.001745/0.001745, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 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.002014/0.002014, allocations: 184.1 kB / 23.71 MB, free: 4.695 MB / 14.72 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.42/1.42, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 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.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance")
translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 51.92 kB / 370.9 MB, free: 9.32 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2525, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.005306/0.2578, allocations: 3.744 MB / 426.9 MB, free: 10.9 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002561/0.2604, allocations: 1.441 MB / 428.3 MB, free: 9.453 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2606, allocations: 11.94 kB / 428.3 MB, free: 9.441 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001871/0.2625, allocations: 0.7612 MB / 429.1 MB, free: 8.68 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001207/0.2637, allocations: 0.548 MB / 429.6 MB, free: 8.129 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008754/0.2645, allocations: 419.2 kB / 430 MB, free: 7.723 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005298/0.2651, allocations: 470 kB / 430.5 MB, free: 7.262 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005345/0.2656, allocations: 299.7 kB / 430.8 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003067/0.2659, allocations: 211.2 kB / 431 MB, free: 6.762 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003308/0.2662, allocations: 266.9 kB / 431.2 MB, free: 6.5 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.2663, allocations: 40 kB / 431.3 MB, free: 6.461 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004097/0.2667, allocations: 207.8 kB / 431.5 MB, free: 6.258 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.2668, allocations: 107.5 kB / 431.6 MB, free: 6.152 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.267, allocations: 230.9 kB / 431.8 MB, free: 5.926 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008676/0.2679, allocations: 0.6771 MB / 432.5 MB, free: 5.246 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2679, allocations: 0 / 432.5 MB, free: 5.246 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.222e-06/0.2679, allocations: 8 kB / 432.5 MB, free: 5.238 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.825e-06/0.2679, allocations: 0 / 432.5 MB, free: 5.238 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: 134
 * Number of variables: 134
Notification: Performance of Generate backend data structure: time 0.002215/0.2701, allocations: 0.8407 MB / 433.3 MB, free: 4.367 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2702, allocations: 8.031 kB / 433.3 MB, free: 4.359 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003851/0.274, allocations: 496.2 kB / 433.8 MB, free: 3.875 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004945/0.2745, allocations: 253 kB / 434.1 MB, free: 3.605 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.2746, allocations: 37.69 kB / 434.1 MB, free: 3.57 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.2747, allocations: 52.33 kB / 434.2 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.2758, allocations: 0.5142 MB / 434.7 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.2758, allocations: 4 kB / 434.7 MB, free: 2.992 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.2759, allocations: 27.94 kB / 434.7 MB, free: 2.965 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.2759, allocations: 12 kB / 434.7 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.2771, allocations: 0.5712 MB / 435.3 MB, free: 2.383 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.2808, allocations: 1.702 MB / 437 MB, free: 0.5977 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.2832, allocations: 0.5787 MB / 437.6 MB, free: 12 kB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.2838, allocations: 186.1 kB / 437.8 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.503e-05/0.2839, allocations: 20.42 kB / 437.8 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.2839, allocations: 39 kB / 437.8 MB, free: 15.76 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=47): time 3.517e-06/0.2839, allocations: 0 / 437.8 MB, free: 15.76 MB / 350.1 MB
Notification: Performance of matching and sorting (n=47): time 0.003071/0.287, allocations: 0.7064 MB / 438.5 MB, free: 15.04 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.889e-05/0.287, allocations: 59.84 kB / 438.6 MB, free: 14.97 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003086/0.2874, allocations: 178.3 kB / 438.8 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.2874, allocations: 33.7 kB / 438.8 MB, free: 14.75 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.2876, allocations: 224.9 kB / 439 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.2878, allocations: 170.5 kB / 439.2 MB, free: 14.36 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/0.2881, allocations: 86.19 kB / 439.3 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002372/0.2883, allocations: 338.8 kB / 439.6 MB, free: 13.93 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005347/0.2888, allocations: 148.9 kB / 439.7 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/0.2894, allocations: 228.2 kB / 440 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.2906, allocations: 403.4 kB / 440.4 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.2906, allocations: 4 kB / 440.4 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of matching and sorting (n=59) (initialization): time 0.00174/0.2923, allocations: 0.528 MB / 440.9 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.2924, allocations: 13.81 kB / 440.9 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.2924, allocations: 0 / 440.9 MB, free: 12.56 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000527/0.2929, allocations: 84.81 kB / 441 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006189/0.2935, allocations: 91.83 kB / 441.1 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003361/0.2969, allocations: 1.946 MB / 443 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/0.2973, allocations: 39.72 kB / 443.1 MB, free: 10.29 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.2974, allocations: 16 kB / 443.1 MB, free: 10.27 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * 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 (50):
 * Single equations (assignments): 49
 * 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,8,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003352/0.2977, allocations: 177.5 kB / 443.2 MB, free: 10.09 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.2978, allocations: 27.92 kB / 443.3 MB, free: 10.06 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.2996, allocations: 0.5434 MB / 443.8 MB, free: 9.508 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.2996, allocations: 4 kB / 443.8 MB, free: 9.504 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.2997, allocations: 4 kB / 443.8 MB, free: 9.5 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.2997, allocations: 3.984 kB / 443.8 MB, free: 9.496 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/0.3026, allocations: 1.083 MB / 444.9 MB, free: 8.359 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3026, allocations: 3.938 kB / 444.9 MB, free: 8.355 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006427/0.3032, allocations: 79.89 kB / 445 MB, free: 8.277 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005266/0.3037, allocations: 92.86 kB / 445.1 MB, free: 8.184 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.3038, allocations: 12 kB / 445.1 MB, free: 8.172 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/0.3075, allocations: 1.934 MB / 447 MB, free: 6.125 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3075, allocations: 0 / 447 MB, free: 6.125 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.3101, allocations: 0.7894 MB / 447.8 MB, free: 5.312 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.389e-05/0.3102, allocations: 43.59 kB / 447.9 MB, free: 5.27 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-05/0.3103, allocations: 8 kB / 447.9 MB, free: 5.262 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.3107, allocations: 19.98 kB / 447.9 MB, free: 5.242 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.3109, allocations: 48.39 kB / 447.9 MB, free: 5.195 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-05/0.311, allocations: 12 kB / 447.9 MB, free: 5.184 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.00029/0.3112, allocations: 136.2 kB / 448.1 MB, free: 5.051 MB / 350.1 MB
Notification: Performance of sort global known variables: time 2.31e-07/0.3112, allocations: 0 / 448.1 MB, free: 5.051 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.001108/0.3123, allocations: 155.7 kB / 448.2 MB, free: 4.898 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (voltageSource.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 (42):
 * Single equations (assignments): 41
 * 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,8,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000346/0.3127, allocations: 135.1 kB / 448.4 MB, free: 4.758 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.002032/0.3147, allocations: 0.5385 MB / 448.9 MB, free: 4.211 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3147, allocations: 0 / 448.9 MB, free: 4.211 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001129/0.3159, allocations: 356.9 kB / 449.3 MB, free: 3.848 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.3165, allocations: 36.44 kB / 449.3 MB, free: 3.812 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.319, allocations: 0.8031 MB / 450.1 MB, free: 2.984 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.3197, allocations: 0.8083 MB / 450.9 MB, free: 2.148 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0003472/0.3201, allocations: 42.97 kB / 450.9 MB, free: 2.105 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3202, allocations: 31.44 kB / 451 MB, free: 2.074 MB / 350.1 MB
Notification: Performance of SimCode: time 1.132e-06/0.3202, allocations: 0 / 451 MB, free: 2.074 MB / 350.1 MB
Notification: Performance of Templates: time 0.01835/0.3386, allocations: 4.676 MB / 455.6 MB, free: 13.4 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.477023225277662]