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.001433/0.001433, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.0009592/0.0009592, allocations: 164.1 kB / 25.75 MB, free: 8.949 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.9137/0.9137, allocations: 158.6 MB / 187.5 MB, free: 2.91 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.243e-06/1.243e-06, allocations: 0 / 251.1 MB, free: 7.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.567e-05, allocations: 6.25 kB / 251.1 MB, free: 7.797 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01579/0.01581, allocations: 9.722 MB / 260.8 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004189/0.02, allocations: 2.78 MB / 263.6 MB, free: 11.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.02069, allocations: 71.69 kB / 263.7 MB, free: 11.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004119/0.02481, allocations: 4.488 MB / 268.2 MB, free: 6.652 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.02659, allocations: 0.9084 MB / 269.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.02781, allocations: 0.9541 MB / 270 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.03097, allocations: 4.453 MB / 274.5 MB, free: 316 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007226/0.03819, allocations: 7.125 MB / 281.6 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003719/0.04191, allocations: 3.752 MB / 285.4 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.04461, allocations: 2.679 MB / 288 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006148/0.04522, allocations: 0.6797 MB / 288.7 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.04626, allocations: 0.8941 MB / 289.6 MB, free: 1.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007346/0.04699, allocations: 1.364 MB / 291 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.04838, allocations: 1.805 MB / 292.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003456/0.05183, allocations: 4.585 MB / 297.4 MB, free: 9.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.05184, allocations: 4 kB / 297.4 MB, free: 9.266 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.05184, allocations: 0 / 297.4 MB, free: 9.266 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.781e-05/0.05188, allocations: 0 / 297.4 MB, free: 9.266 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.007243/0.05912, allocations: 6.064 MB / 303.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.05916, allocations: 11.98 kB / 303.5 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008169/0.06733, allocations: 3.104 MB / 306.6 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002402/0.06973, allocations: 2.151 MB / 308.7 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001717/0.0699, allocations: 366.2 kB / 309.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.07034, allocations: 480.1 kB / 309.5 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.07479, allocations: 2.999 MB / 312.5 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-05/0.07486, allocations: 7.953 kB / 312.5 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/0.07516, allocations: 204 kB / 312.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.07531, allocations: 226.1 kB / 313 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/0.079, allocations: 1.984 MB / 314.9 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01639/0.09539, allocations: 18.1 MB / 333 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/0.0993, allocations: 3.059 MB / 336.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007814/0.1001, allocations: 413.8 kB / 336.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00221/0.1023, allocations: 1.725 MB / 338.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1023, allocations: 37.39 kB / 338.3 MB, free: 15.72 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.1023, allocations: 7.938 kB / 338.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003264/0.1026, allocations: 208.7 kB / 338.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1027, allocations: 51.41 kB / 338.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00192/0.1046, allocations: 2.079 MB / 340.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1046, allocations: 29.7 kB / 340.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.1059, allocations: 2.626 MB / 343.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.106, allocations: 67.8 kB / 343.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009294/0.1069, allocations: 0.6235 MB / 344 MB, free: 9.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.1071, allocations: 0.5394 MB / 344.5 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/0.1075, allocations: 272.6 kB / 344.8 MB, free: 9.137 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.109, allocations: 2.43 MB / 347.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.1113, allocations: 2.82 MB / 350 MB, free: 1.949 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-05/0.1113, allocations: 20 kB / 350 MB, free: 1.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.1219/0.2332, allocations: 2.074 MB / 352.1 MB, free: 93.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.955e-05/0.2332, allocations: 26.44 kB / 352.1 MB, free: 93.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.37e-05/0.2333, allocations: 50.22 kB / 352.2 MB, free: 93.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/0.2335, allocations: 67.31 kB / 352.2 MB, free: 93.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.2349, allocations: 0.5751 MB / 352.8 MB, free: 93.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.319e-05/0.235, allocations: 99.5 kB / 352.9 MB, free: 93.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.2364, allocations: 411.4 kB / 353.3 MB, free: 93.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.2366, allocations: 147.4 kB / 353.5 MB, free: 93.39 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.0009595/0.2375, allocations: 346.4 kB / 353.8 MB, free: 93.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.2377, allocations: 147.2 kB / 353.9 MB, free: 93.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.2379, allocations: 185.1 kB / 354.1 MB, free: 93.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.288e-05/0.238, allocations: 65.42 kB / 354.2 MB, free: 93.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.238, allocations: 0 / 354.2 MB, free: 93.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.238, allocations: 0.625 kB / 354.2 MB, free: 93.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.2409, allocations: 2.908 MB / 357.1 MB, free: 92.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2409, allocations: 0 / 357.1 MB, free: 92.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.241, allocations: 11.56 kB / 357.1 MB, free: 92.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.241, allocations: 0 / 357.1 MB, free: 92.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.241, allocations: 0 / 357.1 MB, free: 92.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.241, allocations: 5.031 kB / 357.1 MB, free: 92.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.241, allocations: 0 / 357.1 MB, free: 92.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.2413, allocations: 388.4 kB / 357.5 MB, free: 92.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.2415, allocations: 146.6 kB / 357.6 MB, free: 92.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.2416, allocations: 7.156 kB / 357.6 MB, free: 92.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.2418, allocations: 29.92 kB / 357.7 MB, free: 92.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.2418, allocations: 7.594 kB / 357.7 MB, free: 92.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.2418, allocations: 3.938 kB / 357.7 MB, free: 92.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009279/0.2428, allocations: 0.9315 MB / 358.6 MB, free: 92.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2428, allocations: 0 / 358.6 MB, free: 92.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001795/0.2446, allocations: 0.9939 MB / 359.6 MB, free: 92.19 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.000225/0.2448, allocations: 132 kB / 359.7 MB, free: 92.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.2459, allocations: 1.037 MB / 360.8 MB, free: 91.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2459, allocations: 0 / 360.8 MB, free: 91.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.2459, allocations: 38.84 kB / 360.8 MB, free: 91.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008518/0.2468, allocations: 339 kB / 361.1 MB, free: 91.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.2523, allocations: 5.544 MB / 366.7 MB, free: 89.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.2529, allocations: 1.136 MB / 367.8 MB, free: 89.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000889/0.2538, allocations: 0.7085 MB / 368.5 MB, free: 88.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.2539, allocations: 101.9 kB / 368.6 MB, free: 88.67 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.254, allocations: 0 / 368.6 MB, free: 88.67 MB / 330.7 MB Notification: Performance of Templates: time 0.02054/0.2745, allocations: 16.5 MB / 385.1 MB, free: 73.21 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: 3.3511393300723284]