Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001704/0.001704, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.002324/0.002324, allocations: 217.3 kB / 24.54 MB, free: 3.898 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 68.95 kB / 379 MB, free: 2.668 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.25, allocations: 53.38 MB / 432.4 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00546/0.2554, allocations: 3.737 MB / 436.2 MB, free: 3.219 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003084/0.2585, allocations: 1.515 MB / 437.7 MB, free: 1.695 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.2587, allocations: 12 kB / 437.7 MB, free: 1.684 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001887/0.2606, allocations: 0.7545 MB / 438.4 MB, free: 0.9258 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000942/0.2615, allocations: 401.2 kB / 438.8 MB, free: 0.5352 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2627, allocations: 0.5576 MB / 439.4 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005372/0.2632, allocations: 470 kB / 439.8 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007366/0.2639, allocations: 376.1 kB / 440.2 MB, free: 15.15 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.2643, allocations: 227.1 kB / 440.4 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.2646, allocations: 267 kB / 440.7 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.2647, allocations: 48 kB / 440.7 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004323/0.2651, allocations: 215.8 kB / 441 MB, free: 14.41 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.36e-05/0.2652, allocations: 111.6 kB / 441.1 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002242/0.2654, allocations: 234.8 kB / 441.3 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000884/0.2663, allocations: 0.7005 MB / 442 MB, free: 13.37 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2663, allocations: 4 kB / 442 MB, free: 13.36 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.082e-06/0.2663, allocations: 0 / 442 MB, free: 13.36 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.923e-06/0.2663, allocations: 4 kB / 442 MB, free: 13.36 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.002143/0.2685, allocations: 0.8524 MB / 442.9 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.2685, allocations: 12.03 kB / 442.9 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003527/0.272, allocations: 468.1 kB / 443.3 MB, free: 12.01 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004735/0.2725, allocations: 253.9 kB / 443.6 MB, free: 11.73 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.433e-05/0.2726, allocations: 37.69 kB / 443.6 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.2727, allocations: 60.31 kB / 443.7 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.2737, allocations: 0.5298 MB / 444.2 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.2737, allocations: 0 / 444.2 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.2737, allocations: 20 kB / 444.2 MB, free: 11.08 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2738, allocations: 12 kB / 444.2 MB, free: 11.07 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.2749, allocations: 0.5829 MB / 444.8 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003015/0.2779, allocations: 1.731 MB / 446.5 MB, free: 8.684 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.2794, allocations: 0.5584 MB / 447.1 MB, free: 8.125 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000481/0.2798, allocations: 230.1 kB / 447.3 MB, free: 7.898 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.937e-05/0.2799, allocations: 24.41 kB / 447.3 MB, free: 7.875 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.28, allocations: 39 kB / 447.4 MB, free: 7.828 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=47): time 2.044e-06/0.28, allocations: 0 / 447.4 MB, free: 7.828 MB / 350.1 MB
Notification: Performance of matching and sorting (n=47): time 0.001814/0.2818, allocations: 0.6674 MB / 448.1 MB, free: 7.148 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.2818, allocations: 59.84 kB / 448.1 MB, free: 7.078 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.282, allocations: 183 kB / 448.3 MB, free: 6.891 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.2821, allocations: 33.7 kB / 448.3 MB, free: 6.852 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.2822, allocations: 225 kB / 448.5 MB, free: 6.625 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.2824, allocations: 174.5 kB / 448.7 MB, free: 6.453 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.2826, allocations: 86.19 kB / 448.8 MB, free: 6.363 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001805/0.2828, allocations: 338.8 kB / 449.1 MB, free: 6.023 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.2831, allocations: 148.9 kB / 449.3 MB, free: 5.879 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.2835, allocations: 237.9 kB / 449.5 MB, free: 5.613 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.2843, allocations: 420.8 kB / 449.9 MB, free: 5.168 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2843, allocations: 0 / 449.9 MB, free: 5.168 MB / 350.1 MB
Notification: Performance of matching and sorting (n=59) (initialization): time 0.001069/0.2853, allocations: 0.5394 MB / 450.5 MB, free: 4.621 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2854, allocations: 10.97 kB / 450.5 MB, free: 4.613 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2854, allocations: 3.984 kB / 450.5 MB, free: 4.609 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003727/0.2857, allocations: 85.03 kB / 450.6 MB, free: 4.523 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/0.2861, allocations: 95.88 kB / 450.6 MB, free: 4.43 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.288, allocations: 1.674 MB / 452.3 MB, free: 2.641 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.2883, allocations: 47.67 kB / 452.4 MB, free: 2.594 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.2883, allocations: 20.05 kB / 452.4 MB, free: 2.574 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.0002088/0.2885, allocations: 169.7 kB / 452.6 MB, free: 2.398 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.2886, allocations: 27.81 kB / 452.6 MB, free: 2.371 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.2897, allocations: 0.5317 MB / 453.1 MB, free: 1.828 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.2897, allocations: 4 kB / 453.1 MB, free: 1.824 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2897, allocations: 4 kB / 453.1 MB, free: 1.82 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2897, allocations: 4 kB / 453.1 MB, free: 1.816 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.2916, allocations: 1.112 MB / 454.2 MB, free: 0.6484 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2916, allocations: 4 kB / 454.2 MB, free: 0.6445 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.2919, allocations: 87.83 kB / 454.3 MB, free: 0.5586 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/0.2922, allocations: 76.8 kB / 454.4 MB, free: 492 kB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.2922, allocations: 12 kB / 454.4 MB, free: 480 kB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.2943, allocations: 1.662 MB / 456.1 MB, free: 14.69 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2943, allocations: 4.062 kB / 456.1 MB, free: 14.69 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2957, allocations: 0.8067 MB / 456.9 MB, free: 13.86 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.2957, allocations: 31.81 kB / 456.9 MB, free: 13.82 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.943e-05/0.2958, allocations: 8 kB / 456.9 MB, free: 13.82 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.296, allocations: 19.98 kB / 456.9 MB, free: 13.8 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.2961, allocations: 36.31 kB / 457 MB, free: 13.76 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.2961, allocations: 27.92 kB / 457 MB, free: 13.73 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0001449/0.2963, allocations: 135.2 kB / 457.1 MB, free: 13.6 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.2963, allocations: 4.062 kB / 457.1 MB, free: 13.6 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0005543/0.2968, allocations: 147.6 kB / 457.3 MB, free: 13.45 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.0002826/0.2971, allocations: 151.1 kB / 457.4 MB, free: 13.3 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001238/0.2983, allocations: 0.5428 MB / 458 MB, free: 12.74 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.2983, allocations: 4.125 kB / 458 MB, free: 12.73 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006199/0.299, allocations: 353 kB / 458.3 MB, free: 12.38 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.2995, allocations: 38.12 kB / 458.4 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.3016, allocations: 0.8251 MB / 459.2 MB, free: 11.49 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.3022, allocations: 0.8123 MB / 460 MB, free: 10.65 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0002771/0.3025, allocations: 46.95 kB / 460 MB, free: 10.61 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3026, allocations: 39.36 kB / 460.1 MB, free: 10.57 MB / 366.1 MB
Notification: Performance of SimCode: time 3.8e-07/0.3026, allocations: 0 / 460.1 MB, free: 10.57 MB / 366.1 MB
Notification: Performance of Templates: time 0.01448/0.3171, allocations: 4.747 MB / 464.8 MB, free: 5.836 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.484795934520662]