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.0009376/0.0009376, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001467/0.001467, allocations: 167.1 kB / 25.7 MB, free: 8.445 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.8303/0.8303, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.012e-06/1.012e-06, allocations: 0 / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.044e-05/1.145e-05, allocations: 2.312 kB / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.006594/0.006605, allocations: 9.107 MB / 260.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.0112, allocations: 2.861 MB / 263.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000687/0.01189, allocations: 67.69 kB / 263.6 MB, free: 11.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0036/0.01549, allocations: 4.025 MB / 267.6 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.01718, allocations: 0.9512 MB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.01833, allocations: 0.9306 MB / 269.5 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002825/0.02116, allocations: 4.064 MB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004905/0.02606, allocations: 6.434 MB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.02845, allocations: 3.393 MB / 283.4 MB, free: 7.207 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.0303, allocations: 2.515 MB / 285.9 MB, free: 4.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004547/0.03076, allocations: 0.6016 MB / 286.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008351/0.03159, allocations: 0.812 MB / 287.3 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006743/0.03227, allocations: 1.247 MB / 288.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.03336, allocations: 1.637 MB / 290.2 MB, free: 392 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.03612, allocations: 4.156 MB / 294.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.03612, allocations: 0 / 294.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.03612, allocations: 0 / 294.3 MB, free: 12.21 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.03616, allocations: 0 / 294.3 MB, free: 12.21 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.005492/0.04165, allocations: 5.06 MB / 299.4 MB, free: 7.105 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.04168, allocations: 15.98 kB / 299.4 MB, free: 7.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/0.04922, allocations: 2.95 MB / 302.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.05061, allocations: 1.028 MB / 303.4 MB, free: 3.078 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/0.05076, allocations: 341.2 kB / 303.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004304/0.0512, allocations: 447.9 kB / 304.2 MB, free: 2.305 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003206/0.0544, allocations: 3.002 MB / 307.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.421e-05/0.05447, allocations: 4 kB / 307.2 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.05475, allocations: 184 kB / 307.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/0.05489, allocations: 213.3 kB / 307.5 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.05684, allocations: 1.346 MB / 308.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.0688, allocations: 12.86 MB / 321.8 MB, free: 48 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/0.07131, allocations: 1.84 MB / 323.6 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.07175, allocations: 413.3 kB / 324 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001973/0.07372, allocations: 1.523 MB / 325.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.07374, allocations: 42.73 kB / 325.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.07374, allocations: 0 / 325.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.0003308/0.07407, allocations: 245 kB / 325.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.0741, allocations: 55.41 kB / 325.9 MB, free: 11.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/0.07499, allocations: 1.388 MB / 327.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.07501, allocations: 29.7 kB / 327.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/0.07577, allocations: 2.191 MB / 329.5 MB, free: 8.238 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.536e-05/0.07585, allocations: 147.1 kB / 329.6 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.07624, allocations: 0.4965 MB / 330.1 MB, free: 7.59 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003225/0.07657, allocations: 353.8 kB / 330.4 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003285/0.07689, allocations: 316.4 kB / 330.8 MB, free: 6.926 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008032/0.0777, allocations: 1.591 MB / 332.3 MB, free: 4.652 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.07891, allocations: 2.061 MB / 334.4 MB, free: 1.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.07892, allocations: 16 kB / 334.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.001454/0.08038, allocations: 1.616 MB / 336 MB, free: 284 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.08041, allocations: 28 kB / 336.1 MB, free: 256 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/0.08043, allocations: 48 kB / 336.1 MB, free: 208 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.062e-05/0.08047, allocations: 67.98 kB / 336.2 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.08162, allocations: 0.5583 MB / 336.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.616e-05/0.08166, allocations: 99.58 kB / 336.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008039/0.08247, allocations: 349.4 kB / 337.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.08257, allocations: 124 kB / 337.3 MB, free: 15.02 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.0003863/0.08296, allocations: 291.4 kB / 337.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.08306, allocations: 79.91 kB / 337.7 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003776/0.08343, allocations: 375 kB / 338 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.185e-05/0.08353, allocations: 93.59 kB / 338.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.08353, allocations: 0 / 338.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.08353, allocations: 11.86 kB / 338.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/0.0852, allocations: 1.809 MB / 339.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.0852, allocations: 8 kB / 339.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.08531, allocations: 51.91 kB / 340 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.08532, allocations: 8 kB / 340 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.08533, allocations: 8.594 kB / 340 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.08534, allocations: 15.94 kB / 340 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.08534, allocations: 7.938 kB / 340 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003647/0.08571, allocations: 0.4999 MB / 340.5 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.08585, allocations: 131 kB / 340.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.747e-05/0.08594, allocations: 12 kB / 340.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.08618, allocations: 15.94 kB / 340.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-05/0.08621, allocations: 35.83 kB / 340.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.08622, allocations: 16.03 kB / 340.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004592/0.08668, allocations: 0.5897 MB / 341.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08668, allocations: 0 / 341.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00134/0.08802, allocations: 0.9338 MB / 342.3 MB, free: 9.797 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.0001745/0.0882, allocations: 128.2 kB / 342.4 MB, free: 9.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000752/0.08895, allocations: 0.9176 MB / 343.3 MB, free: 8.742 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003278/0.08928, allocations: 47.94 kB / 343.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.08936, allocations: 76.58 kB / 343.4 MB, free: 8.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007463/0.09011, allocations: 312.5 kB / 343.7 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.09521, allocations: 5.392 MB / 349.1 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.09577, allocations: 0.7227 MB / 349.9 MB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004816/0.09625, allocations: 246.3 kB / 350.1 MB, free: 1.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.09666, allocations: 313.2 kB / 350.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.09666, allocations: 0 / 350.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of Templates: time 0.1183/0.2149, allocations: 17.73 MB / 368.1 MB, free: 79.99 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 -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: 2.961672230158001]