Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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.001356/0.001356, allocations: 106.5 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.001417/0.001417, allocations: 212.6 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.442/1.442, allocations: 230.3 MB / 258 MB, free: 8.254 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.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar")
translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.89 kB / 378.8 MB, free: 2.777 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2512, allocations: 53.37 MB / 432.1 MB, free: 7.102 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01179/0.263, allocations: 9.808 MB / 441.9 MB, free: 13.25 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006498/0.2695, allocations: 2.779 MB / 444.7 MB, free: 10.46 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.2714, allocations: 91.56 kB / 444.8 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01/0.2814, allocations: 4.22 MB / 449 MB, free: 6.145 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003856/0.2853, allocations: 0.7877 MB / 449.8 MB, free: 5.355 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.2888, allocations: 0.9921 MB / 450.8 MB, free: 4.367 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.007325/0.2961, allocations: 4.078 MB / 454.9 MB, free: 280 kB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.3108, allocations: 6.789 MB / 461.7 MB, free: 9.367 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004137/0.3149, allocations: 2.408 MB / 464.1 MB, free: 6.953 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.004846/0.3198, allocations: 2.667 MB / 466.7 MB, free: 4.277 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002259/0.322, allocations: 0.6641 MB / 467.4 MB, free: 3.613 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.3253, allocations: 0.8982 MB / 468.3 MB, free: 2.715 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002226/0.3275, allocations: 1.243 MB / 469.6 MB, free: 1.469 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005679/0.3332, allocations: 2.556 MB / 472.1 MB, free: 14.9 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01296/0.3462, allocations: 8.925 MB / 481 MB, free: 5.949 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3462, allocations: 4 kB / 481 MB, free: 5.945 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.514e-06/0.3462, allocations: 3.938 kB / 481 MB, free: 5.941 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0003047/0.3465, allocations: 0 / 481 MB, free: 5.941 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1224
 * Number of variables: 1224
Notification: Performance of Generate backend data structure: time 0.01705/0.3635, allocations: 5.323 MB / 486.4 MB, free: 0.5625 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/0.3636, allocations: 12.02 kB / 486.4 MB, free: 0.5508 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009763/0.3733, allocations: 1.314 MB / 487.7 MB, free: 15.23 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006162/0.3795, allocations: 2.602 MB / 490.3 MB, free: 12.6 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004159/0.3799, allocations: 357.2 kB / 490.6 MB, free: 12.25 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.3816, allocations: 456 kB / 491.1 MB, free: 11.8 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/0.3972, allocations: 6.106 MB / 497.2 MB, free: 5.652 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.3974, allocations: 7.953 kB / 497.2 MB, free: 5.645 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/0.3984, allocations: 184 kB / 497.4 MB, free: 5.465 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/0.3987, allocations: 197.5 kB / 497.6 MB, free: 5.27 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0119/0.4106, allocations: 5.284 MB / 0.4911 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/0.4467, allocations: 20.22 MB / 0.5108 GB, free: 11.12 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.005563/0.4522, allocations: 2.109 MB / 0.5129 GB, free: 9.074 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/0.4533, allocations: 0.5962 MB / 0.5135 GB, free: 8.477 MB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.4535, allocations: 44.94 kB / 0.5135 GB, free: 8.43 MB / 430.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.4535, allocations: 47.5 kB / 0.5135 GB, free: 8.375 MB / 430.1 MB
Notification: Performance of pre-optimization done (n=94): time 4.218e-06/0.4535, allocations: 0 / 0.5135 GB, free: 8.375 MB / 430.1 MB
Notification: Performance of matching and sorting (n=94): time 0.00249/0.456, allocations: 1.433 MB / 0.5149 GB, free: 6.941 MB / 430.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.456, allocations: 64.41 kB / 0.515 GB, free: 6.863 MB / 430.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.4586, allocations: 1.462 MB / 0.5164 GB, free: 5.391 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.4586, allocations: 41.7 kB / 0.5165 GB, free: 5.344 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.4602, allocations: 2.045 MB / 0.5185 GB, free: 3.277 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.4606, allocations: 361.1 kB / 0.5188 GB, free: 2.922 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007696/0.4614, allocations: 475.9 kB / 0.5193 GB, free: 2.449 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001869/0.4615, allocations: 361.9 kB / 0.5196 GB, free: 2.09 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.4629, allocations: 0.8124 MB / 0.5204 GB, free: 1.273 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002337/0.4652, allocations: 1.945 MB / 0.5223 GB, free: 14.77 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/0.469, allocations: 2.927 MB / 0.5252 GB, free: 11.3 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-05/0.469, allocations: 12 kB / 0.5252 GB, free: 11.29 MB / 446.1 MB
Notification: Performance of matching and sorting (n=283) (initialization): time 0.004659/0.4737, allocations: 2.802 MB / 0.5279 GB, free: 8.473 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.587e-05/0.4737, allocations: 26.66 kB / 0.5279 GB, free: 8.449 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-05/0.4738, allocations: 44.09 kB / 0.528 GB, free: 8.406 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 6.434e-05/0.4738, allocations: 52 kB / 0.528 GB, free: 8.355 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.4755, allocations: 0.5342 MB / 0.5286 GB, free: 7.82 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001187/0.4757, allocations: 87.64 kB / 0.5286 GB, free: 7.734 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.4771, allocations: 301.8 kB / 0.5289 GB, free: 7.438 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.4773, allocations: 128 kB / 0.529 GB, free: 7.312 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 178
 * 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 (282):
 * Single equations (assignments): 281
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.002552/0.4799, allocations: 1.668 MB / 0.5307 GB, free: 5.633 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.4802, allocations: 135.1 kB / 0.5308 GB, free: 5.5 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.4825, allocations: 1.342 MB / 0.5321 GB, free: 4.141 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001382/0.4838, allocations: 0.9357 MB / 0.533 GB, free: 3.203 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4839, allocations: 0 / 0.533 GB, free: 3.203 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.4839, allocations: 3.984 kB / 0.533 GB, free: 3.199 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2265/0.7104, allocations: 11.11 MB / 0.5439 GB, free: 93.04 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.7104, allocations: 23.56 kB / 0.5439 GB, free: 93.04 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.711, allocations: 214.9 kB / 0.5441 GB, free: 93.01 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-05/0.7111, allocations: 23.59 kB / 0.5441 GB, free: 93.01 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.7111, allocations: 51.45 kB / 0.5442 GB, free: 93 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.968e-05/0.7111, allocations: 38.61 kB / 0.5442 GB, free: 92.99 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.281e-05/0.7112, allocations: 31.56 kB / 0.5442 GB, free: 92.98 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.7133, allocations: 2.464 MB / 0.5467 GB, free: 91.49 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000553/0.7139, allocations: 249.3 kB / 0.5469 GB, free: 91.46 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.714, allocations: 58.61 kB / 0.5469 GB, free: 91.45 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006797/0.7147, allocations: 59.02 kB / 0.547 GB, free: 91.43 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.7148, allocations: 134.5 kB / 0.5471 GB, free: 91.38 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.7149, allocations: 62.33 kB / 0.5472 GB, free: 91.37 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001057/0.7159, allocations: 0.986 MB / 0.5482 GB, free: 90.98 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.7159, allocations: 0.8438 kB / 0.5482 GB, free: 90.98 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.002389/0.7183, allocations: 0.9542 MB / 0.5491 GB, free: 90.85 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 87
 * Number of states: 1 (voltageSource.plug_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 (98):
 * Single equations (assignments): 97
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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.0002723/0.7186, allocations: 198.4 kB / 0.5493 GB, free: 90.72 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.002126/0.7207, allocations: 1.801 MB / 0.551 GB, free: 90.07 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.7207, allocations: 3.938 kB / 0.551 GB, free: 90.07 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006149/0.7213, allocations: 0.562 MB / 0.5516 GB, free: 89.89 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/0.7234, allocations: 376.9 kB / 0.5519 GB, free: 89.79 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009508/0.7329, allocations: 6.912 MB / 0.5587 GB, free: 85.15 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/0.735, allocations: 3.083 MB / 0.5617 GB, free: 82.29 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.001551/0.7366, allocations: 0.8072 MB / 0.5625 GB, free: 81.48 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.7368, allocations: 119.4 kB / 0.5626 GB, free: 81.36 MB / 446.1 MB
Notification: Performance of SimCode: time 1.483e-06/0.7368, allocations: 4 kB / 0.5626 GB, free: 81.36 MB / 446.1 MB
Notification: Performance of Templates: time 0.03133/0.7681, allocations: 20.23 MB / 0.5824 GB, free: 61.27 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.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: 5.391195256263018]