Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008579/0.0008579, allocations: 80.8 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009315/0.0009315, allocations: 167 kB / 25.7 MB, free: 8.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9119/0.9119, allocations: 158.6 MB / 187.6 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.974e-05, allocations: 6.25 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.007311/0.007331, allocations: 9.456 MB / 261 MB, free: 13.76 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004496/0.01183, allocations: 2.93 MB / 263.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005982/0.01242, allocations: 79.62 kB / 264 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.01634, allocations: 4.503 MB / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.01795, allocations: 0.916 MB / 269.4 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.0191, allocations: 0.9501 MB / 270.4 MB, free: 4.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002712/0.02181, allocations: 4.477 MB / 274.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00578/0.0276, allocations: 7.352 MB / 282.2 MB, free: 8.336 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003122/0.03072, allocations: 3.779 MB / 286 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002395/0.03311, allocations: 2.749 MB / 288.7 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006133/0.03373, allocations: 0.6797 MB / 289.4 MB, free: 1.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.03536, allocations: 0.8864 MB / 290.3 MB, free: 236 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.03713, allocations: 1.364 MB / 291.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002914/0.04004, allocations: 1.805 MB / 293.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006275/0.04632, allocations: 4.581 MB / 298 MB, free: 8.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.04632, allocations: 0 / 298 MB, free: 8.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04632, allocations: 0 / 298 MB, free: 8.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001351/0.04646, allocations: 0 / 298 MB, free: 8.461 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.0085/0.05496, allocations: 5.478 MB / 303.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.055, allocations: 11.98 kB / 303.5 MB, free: 2.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.06164, allocations: 2.705 MB / 306.2 MB, free: 220 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.06387, allocations: 1.122 MB / 307.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/0.06404, allocations: 366.2 kB / 307.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004727/0.06452, allocations: 484.1 kB / 308.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003845/0.06836, allocations: 3.236 MB / 311.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-05/0.06844, allocations: 0 / 311.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/0.06874, allocations: 204 kB / 311.6 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001558/0.06889, allocations: 234 kB / 311.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002063/0.07096, allocations: 1.362 MB / 313.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.08679, allocations: 13.87 MB / 327.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/0.0897, allocations: 2.075 MB / 329.2 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.09005, allocations: 319 kB / 329.5 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/0.09226, allocations: 1.463 MB / 330.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.09229, allocations: 38.56 kB / 331 MB, free: 6.707 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.09229, allocations: 0 / 331 MB, free: 6.707 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.000243/0.09253, allocations: 161.5 kB / 331.1 MB, free: 6.543 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.09256, allocations: 55.41 kB / 331.2 MB, free: 6.477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.09357, allocations: 1.464 MB / 332.6 MB, free: 5.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.09358, allocations: 25.7 kB / 332.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008725/0.09445, allocations: 2.378 MB / 335 MB, free: 2.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.0945, allocations: 75.72 kB / 335.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005396/0.09504, allocations: 0.5001 MB / 335.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.09513, allocations: 357.8 kB / 336 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.09544, allocations: 316 kB / 336.3 MB, free: 1.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/0.09626, allocations: 1.626 MB / 337.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.0975, allocations: 2.079 MB / 340 MB, free: 12.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.09752, allocations: 16 kB / 340 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00161/0.09913, allocations: 1.603 MB / 341.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.09916, allocations: 28 kB / 341.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.09919, allocations: 55.94 kB / 341.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.489e-05/0.09924, allocations: 67.98 kB / 341.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008621/0.1001, allocations: 0.5419 MB / 342.3 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.54e-05/0.1001, allocations: 95.66 kB / 342.4 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009086/0.1011, allocations: 349.6 kB / 342.7 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.1012, allocations: 128 kB / 342.9 MB, free: 9.312 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (307): * Single equations (assignments): 306 * 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.0006155/0.1018, allocations: 299.2 kB / 343.1 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.1019, allocations: 75.91 kB / 343.2 MB, free: 8.934 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.1021, allocations: 175 kB / 343.4 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.886e-05/0.1021, allocations: 53.67 kB / 343.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.1021, allocations: 0 / 343.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1021, allocations: 0 / 343.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.1034, allocations: 1.07 MB / 344.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1034, allocations: 0 / 344.5 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.1034, allocations: 12 kB / 344.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1034, allocations: 0 / 344.5 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.1034, allocations: 4 kB / 344.5 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1034, allocations: 7.984 kB / 344.5 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1035, allocations: 3.938 kB / 344.5 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.1037, allocations: 286.7 kB / 344.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1038, allocations: 115.1 kB / 344.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/0.1039, allocations: 4.375 kB / 344.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.1041, allocations: 12.05 kB / 344.9 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.1041, allocations: 4 kB / 345 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.1041, allocations: 7.938 kB / 345 MB, free: 7.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004899/0.1046, allocations: 0.6004 MB / 345.6 MB, free: 6.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1046, allocations: 4 kB / 345.6 MB, free: 6.523 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001666/0.1063, allocations: 0.9958 MB / 346.6 MB, free: 5.523 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 6 * 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.0001926/0.1064, allocations: 124.2 kB / 346.7 MB, free: 5.395 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007996/0.1072, allocations: 0.8371 MB / 347.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.425e-05/0.1073, allocations: 47.94 kB / 347.6 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.1073, allocations: 20.86 kB / 347.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00078/0.1081, allocations: 338.6 kB / 347.9 MB, free: 4.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1031/0.2112, allocations: 5.613 MB / 353.5 MB, free: 84.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005628/0.2118, allocations: 0.7898 MB / 354.3 MB, free: 84.37 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005919/0.2124, allocations: 246.4 kB / 354.6 MB, free: 84.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.2128, allocations: 326.8 kB / 354.9 MB, free: 84.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.243e-06/0.2128, allocations: 0 / 354.9 MB, free: 84.3 MB / 330.7 MB Notification: Performance of Templates: time 0.02379/0.2365, allocations: 18.07 MB / 373 MB, free: 74.88 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.944464610889554]