Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.001736/0.001736, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002346/0.002346, allocations: 217.9 kB / 24.54 MB, free: 3.898 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.5/1.5, allocations: 230.3 MB / 258 MB, free: 8.223 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.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance")
translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.pin_n1.reference.gamma|transformer.pin_n2.reference.gamma|currentSensor.abs_i|currentSensor.arg_i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 60.12 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2381, allocations: 53.36 MB / 432.1 MB, free: 7.059 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance): time 0.007028/0.2451, allocations: 5.137 MB / 437.3 MB, free: 1.898 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00353/0.2486, allocations: 1.862 MB / 439.1 MB, free: 32 kB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.2491, allocations: 12 kB / 439.1 MB, free: 20 kB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002992/0.2521, allocations: 1.186 MB / 440.3 MB, free: 14.83 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001757/0.2538, allocations: 0.6331 MB / 441 MB, free: 14.2 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.2553, allocations: 0.6166 MB / 441.6 MB, free: 13.59 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001147/0.2564, allocations: 0.7583 MB / 442.3 MB, free: 12.83 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008544/0.2573, allocations: 442.5 kB / 442.8 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005727/0.2579, allocations: 338.7 kB / 443.1 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.2585, allocations: 430.3 kB / 443.5 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.2586, allocations: 60 kB / 443.6 MB, free: 11.59 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006339/0.2593, allocations: 255.8 kB / 443.8 MB, free: 11.34 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.2594, allocations: 163.4 kB / 444 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.2599, allocations: 378 kB / 444.4 MB, free: 10.81 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001369/0.2613, allocations: 1.027 MB / 445.4 MB, free: 9.777 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.2613, allocations: 4 kB / 445.4 MB, free: 9.773 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.2613, allocations: 0 / 445.4 MB, free: 9.773 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 2.711e-05/0.2613, allocations: 0 / 445.4 MB, free: 9.773 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: 199
 * Number of variables: 199
Notification: Performance of Generate backend data structure: time 0.004341/0.2657, allocations: 1.32 MB / 446.7 MB, free: 8.418 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2657, allocations: 12.03 kB / 446.7 MB, free: 8.406 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006283/0.272, allocations: 0.7964 MB / 447.5 MB, free: 7.609 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.2728, allocations: 354 kB / 447.9 MB, free: 7.238 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.2728, allocations: 58.38 kB / 447.9 MB, free: 7.184 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.273, allocations: 84.12 kB / 448 MB, free: 7.102 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.2747, allocations: 0.7687 MB / 448.8 MB, free: 6.324 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.2747, allocations: 3.953 kB / 448.8 MB, free: 6.32 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-05/0.2748, allocations: 36 kB / 448.8 MB, free: 6.285 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.2748, allocations: 20 kB / 448.8 MB, free: 6.266 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.2766, allocations: 0.9058 MB / 449.7 MB, free: 5.359 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.2811, allocations: 2.533 MB / 452.3 MB, free: 2.719 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.283, allocations: 0.7711 MB / 453 MB, free: 1.961 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005526/0.2835, allocations: 295.2 kB / 453.3 MB, free: 1.668 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.2836, allocations: 28.61 kB / 453.3 MB, free: 1.641 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.2837, allocations: 43.22 kB / 453.4 MB, free: 1.59 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=75): time 2.324e-06/0.2837, allocations: 0 / 453.4 MB, free: 1.59 MB / 350.1 MB
Notification: Performance of matching and sorting (n=75): time 0.003777/0.2875, allocations: 1.259 MB / 454.6 MB, free: 328 kB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.2875, allocations: 60.06 kB / 454.7 MB, free: 256 kB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.2879, allocations: 300.1 kB / 455 MB, free: 15.95 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.119e-05/0.2879, allocations: 33.7 kB / 455 MB, free: 15.91 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2881, allocations: 296.7 kB / 455.3 MB, free: 15.61 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.2884, allocations: 265.7 kB / 455.6 MB, free: 15.35 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.2886, allocations: 130.6 kB / 455.7 MB, free: 15.21 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001729/0.2887, allocations: 350.7 kB / 456.1 MB, free: 14.86 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/0.2892, allocations: 237.9 kB / 456.3 MB, free: 14.63 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005957/0.2898, allocations: 362.5 kB / 456.6 MB, free: 14.23 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.291, allocations: 0.6298 MB / 457.3 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.291, allocations: 0 / 457.3 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of matching and sorting (n=90) (initialization): time 0.001892/0.2929, allocations: 0.8686 MB / 458.1 MB, free: 12.69 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.2929, allocations: 7.984 kB / 458.1 MB, free: 12.68 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2929, allocations: 4 kB / 458.1 MB, free: 12.68 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008152/0.2937, allocations: 207.2 kB / 458.4 MB, free: 12.47 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005739/0.2943, allocations: 135.8 kB / 458.5 MB, free: 12.34 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003613/0.2979, allocations: 2.608 MB / 461.1 MB, free: 9.617 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/0.2984, allocations: 67.5 kB / 461.2 MB, free: 9.551 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.2984, allocations: 35.98 kB / 461.2 MB, free: 9.516 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * 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 (73):
 * Single equations (assignments): 72
 * 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
   {(3,15,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0002786/0.2987, allocations: 193.7 kB / 461.4 MB, free: 9.316 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2988, allocations: 51.67 kB / 461.4 MB, free: 9.266 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.3008, allocations: 0.8859 MB / 462.3 MB, free: 8.367 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.3008, allocations: 15.88 kB / 462.3 MB, free: 8.352 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3008, allocations: 4 kB / 462.3 MB, free: 8.348 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.3008, allocations: 3.984 kB / 462.3 MB, free: 8.344 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.3038, allocations: 1.663 MB / 464 MB, free: 6.625 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.3038, allocations: 8 kB / 464 MB, free: 6.617 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.3043, allocations: 111.8 kB / 464.1 MB, free: 6.508 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007285/0.305, allocations: 203.7 kB / 464.3 MB, free: 6.309 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.53e-05/0.305, allocations: 19.98 kB / 464.3 MB, free: 6.289 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003467/0.3085, allocations: 2.605 MB / 466.9 MB, free: 3.57 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3085, allocations: 48 / 466.9 MB, free: 3.57 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.3109, allocations: 1.261 MB / 468.2 MB, free: 2.293 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.178e-05/0.311, allocations: 59.55 kB / 468.3 MB, free: 2.234 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.3111, allocations: 12 kB / 468.3 MB, free: 2.223 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.3114, allocations: 27.92 kB / 468.3 MB, free: 2.195 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.3116, allocations: 56.55 kB / 468.4 MB, free: 2.141 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.582e-05/0.3116, allocations: 23.98 kB / 468.4 MB, free: 2.117 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002385/0.3119, allocations: 211.1 kB / 468.6 MB, free: 1.91 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3119, allocations: 4.062 kB / 468.6 MB, free: 1.906 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.000758/0.3126, allocations: 231.5 kB / 468.8 MB, free: 1.68 MB / 366.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 (63):
 * Single equations (assignments): 62
 * 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
   {(3,15,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.00027/0.3129, allocations: 155.1 kB / 469 MB, free: 1.516 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001737/0.3146, allocations: 0.8007 MB / 469.8 MB, free: 0.7031 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3146, allocations: 0 / 469.8 MB, free: 0.7031 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001055/0.3157, allocations: 0.5105 MB / 470.3 MB, free: 188 kB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.3162, allocations: 64.91 kB / 470.3 MB, free: 120 kB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.3184, allocations: 1.18 MB / 471.5 MB, free: 14.91 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007331/0.3191, allocations: 0.8891 MB / 472.4 MB, free: 13.99 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003001/0.3194, allocations: 76.53 kB / 472.5 MB, free: 13.91 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3196, allocations: 47.42 kB / 472.5 MB, free: 13.87 MB / 382.1 MB
Notification: Performance of SimCode: time 3.8e-07/0.3196, allocations: 0 / 472.5 MB, free: 13.87 MB / 382.1 MB
Notification: Performance of Templates: time 0.01673/0.3363, allocations: 8.078 MB / 480.6 MB, free: 5.812 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/MultipleResonance/MultipleResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.MultipleResonance.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.816634362563491]