Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.0009246/0.0009246, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.0009354/0.0009354, allocations: 169.1 kB / 25.7 MB, free: 8.457 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.9334/0.9334, 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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.379e-05, allocations: 10.25 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.006937/0.006951, allocations: 9.15 MB / 260.7 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00543/0.01238, allocations: 2.869 MB / 263.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.01356, allocations: 63.75 kB / 263.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004179/0.01773, allocations: 3.99 MB / 267.6 MB, free: 7.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.01947, allocations: 0.9473 MB / 268.6 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.02066, allocations: 0.9112 MB / 269.5 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002937/0.02359, allocations: 4.076 MB / 273.6 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005834/0.02943, allocations: 6.431 MB / 280 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003163/0.03259, allocations: 3.385 MB / 283.4 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.03601, allocations: 2.511 MB / 285.9 MB, free: 4.656 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.03702, allocations: 0.6055 MB / 286.5 MB, free: 4.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.03807, allocations: 0.8277 MB / 287.3 MB, free: 3.223 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008667/0.03894, allocations: 1.243 MB / 288.6 MB, free: 1.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.04034, allocations: 1.641 MB / 290.2 MB, free: 340 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003484/0.04382, allocations: 4.156 MB / 294.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.04383, allocations: 3.984 kB / 294.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.04383, allocations: 0 / 294.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.61e-05/0.04386, allocations: 0 / 294.4 MB, free: 12.16 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.005999/0.04986, allocations: 5.059 MB / 299.4 MB, free: 7.051 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.0499, allocations: 15.98 kB / 299.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008239/0.05814, allocations: 2.95 MB / 302.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.05956, allocations: 1.025 MB / 303.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.05971, allocations: 341.2 kB / 303.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004075/0.06012, allocations: 447.9 kB / 304.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.0635, allocations: 3.002 MB / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.34e-05/0.06357, allocations: 4 kB / 307.2 MB, free: 15.19 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.06383, allocations: 184 kB / 307.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.06396, allocations: 213.3 kB / 307.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.06579, allocations: 1.342 MB / 308.9 MB, free: 13.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.07815, allocations: 12.85 MB / 321.8 MB, free: 0 / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.08054, allocations: 1.836 MB / 323.6 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.08098, allocations: 413.2 kB / 324 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/0.08305, allocations: 1.52 MB / 325.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.08308, allocations: 42.8 kB / 325.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.492e-06/0.08308, allocations: 4 kB / 325.6 MB, free: 12.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003383/0.08342, allocations: 245 kB / 325.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.08344, allocations: 55.41 kB / 325.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.08459, allocations: 1.388 MB / 327.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.08462, allocations: 29.7 kB / 327.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008209/0.08544, allocations: 2.191 MB / 329.5 MB, free: 8.199 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.08551, allocations: 147.1 kB / 329.6 MB, free: 8.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.08592, allocations: 0.5004 MB / 330.1 MB, free: 7.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.08602, allocations: 349.8 kB / 330.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.08634, allocations: 312.4 kB / 330.8 MB, free: 6.891 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.08717, allocations: 1.591 MB / 332.4 MB, free: 4.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.08875, allocations: 2.065 MB / 334.4 MB, free: 1.879 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/0.08877, allocations: 16 kB / 334.5 MB, free: 1.863 MB / 314.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.001608/0.09038, allocations: 1.617 MB / 336.1 MB, free: 244 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.09041, allocations: 28 kB / 336.1 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.09044, allocations: 52.16 kB / 336.2 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.169e-05/0.09048, allocations: 64 kB / 336.2 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.0915, allocations: 0.581 MB / 336.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.846e-05/0.09155, allocations: 103.6 kB / 336.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008849/0.09244, allocations: 345.4 kB / 337.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.09255, allocations: 124 kB / 337.4 MB, free: 14.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.0005853/0.09313, allocations: 291.4 kB / 337.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.09324, allocations: 79.91 kB / 337.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.09364, allocations: 378.9 kB / 338.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-05/0.09372, allocations: 89.52 kB / 338.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.09373, allocations: 0 / 338.2 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.09373, allocations: 11.92 kB / 338.2 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.0955, allocations: 1.806 MB / 340 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.0955, allocations: 4 kB / 340 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.09562, allocations: 63.91 kB / 340.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.09562, allocations: 8 kB / 340.1 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/0.09589, allocations: 12 kB / 340.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.0959, allocations: 7.984 kB / 340.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/0.0959, allocations: 11.88 kB / 340.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000373/0.09628, allocations: 0.4961 MB / 340.6 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.09642, allocations: 131 kB / 340.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/0.0965, allocations: 16.03 kB / 340.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.09673, allocations: 23.92 kB / 340.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.09676, allocations: 31.84 kB / 340.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.09678, allocations: 8 kB / 340.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004584/0.09724, allocations: 0.5936 MB / 341.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09724, allocations: 0 / 341.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001425/0.09866, allocations: 0.9338 MB / 342.3 MB, free: 9.727 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.0001792/0.09884, allocations: 144.2 kB / 342.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000767/0.09961, allocations: 0.9047 MB / 343.4 MB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.775e-05/0.09968, allocations: 43.94 kB / 343.4 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.09976, allocations: 87.44 kB / 343.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007363/0.1005, allocations: 311.4 kB / 343.8 MB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005532/0.106, allocations: 5.385 MB / 349.2 MB, free: 2.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.1066, allocations: 0.7227 MB / 349.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004966/0.1071, allocations: 250.3 kB / 350.2 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.1075, allocations: 309.2 kB / 350.5 MB, free: 1.418 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1075, allocations: 4 kB / 350.5 MB, free: 1.414 MB / 330.7 MB Notification: Performance of Templates: time 0.1187/0.2262, allocations: 17.73 MB / 368.2 MB, free: 79.91 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.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.022644172888249]