Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.00771/0.00771, allocations: 109.1 kB / 21.98 MB, free: 5.184 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.001839/0.001839, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 259 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 63.89 kB / 379.8 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2824, allocations: 53.36 MB / 433.2 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01189/0.2943, allocations: 9.213 MB / 442.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006742/0.3011, allocations: 2.67 MB / 445.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.3029, allocations: 79.62 kB / 445.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009117/0.312, allocations: 3.767 MB / 448.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.3157, allocations: 0.7637 MB / 449.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.3184, allocations: 0.9552 MB / 450.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005346/0.3238, allocations: 3.65 MB / 454.3 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01003/0.3338, allocations: 6.183 MB / 460.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003892/0.3377, allocations: 2.135 MB / 462.6 MB, free: 9.402 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004985/0.3427, allocations: 2.391 MB / 465 MB, free: 7.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001721/0.3444, allocations: 0.582 MB / 465.6 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.3472, allocations: 0.8201 MB / 466.4 MB, free: 5.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001812/0.349, allocations: 1.118 MB / 467.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.3527, allocations: 2.272 MB / 469.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00994/0.3627, allocations: 7.93 MB / 477.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3627, allocations: 0 / 477.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3627, allocations: 0 / 477.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001936/0.3629, allocations: 0 / 477.7 MB, free: 10.25 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01431/0.3772, allocations: 4.861 MB / 482.6 MB, free: 5.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3772, allocations: 16.03 kB / 482.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008159/0.3854, allocations: 1.282 MB / 483.9 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005742/0.3911, allocations: 2.309 MB / 486.2 MB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.3914, allocations: 316.4 kB / 486.5 MB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.3928, allocations: 411.9 kB / 486.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01395/0.4068, allocations: 5.485 MB / 492.4 MB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.4069, allocations: 8 kB / 492.4 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005868/0.4075, allocations: 172 kB / 492.5 MB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/0.4077, allocations: 176.6 kB / 492.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01259/0.4203, allocations: 4.808 MB / 497.5 MB, free: 6.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03847/0.4587, allocations: 18.53 MB / 0.504 GB, free: 3.137 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/0.4628, allocations: 1.784 MB / 0.5057 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.4641, allocations: 0.7154 MB / 0.5064 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.4643, allocations: 52.92 kB / 0.5064 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.4643, allocations: 43.56 kB / 0.5065 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 3.366e-06/0.4643, allocations: 0 / 0.5065 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002739/0.4671, allocations: 1.562 MB / 0.508 GB, free: 15.01 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.115e-05/0.4671, allocations: 68.34 kB / 0.5081 GB, free: 14.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002205/0.4693, allocations: 1.342 MB / 0.5094 GB, free: 13.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4694, allocations: 45.7 kB / 0.5094 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.4709, allocations: 1.811 MB / 0.5112 GB, free: 11.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004284/0.4713, allocations: 392.9 kB / 0.5116 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006703/0.472, allocations: 451.6 kB / 0.512 GB, free: 10.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4722, allocations: 349.9 kB / 0.5123 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.4735, allocations: 0.8356 MB / 0.5132 GB, free: 9.664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.4758, allocations: 1.819 MB / 0.5149 GB, free: 7.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/0.4795, allocations: 2.802 MB / 0.5177 GB, free: 4.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.692e-05/0.4795, allocations: 15.94 kB / 0.5177 GB, free: 4.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004691/0.4842, allocations: 2.743 MB / 0.5204 GB, free: 1.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.218e-05/0.4843, allocations: 20 kB / 0.5204 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/0.4843, allocations: 35.98 kB / 0.5204 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.223e-05/0.4844, allocations: 48 kB / 0.5205 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.4861, allocations: 0.5264 MB / 0.521 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.365e-05/0.4861, allocations: 63.8 kB / 0.521 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.4875, allocations: 298.3 kB / 0.5213 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.4877, allocations: 116 kB / 0.5214 GB, free: 224 kB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * 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.002442/0.4901, allocations: 1.488 MB / 0.5229 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.4904, allocations: 123.2 kB / 0.523 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.493, allocations: 1.462 MB / 0.5244 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001646/0.4946, allocations: 1.041 MB / 0.5255 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.527e-06/0.4947, allocations: 4 kB / 0.5255 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.4947, allocations: 3.984 kB / 0.5255 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01897/0.5136, allocations: 11.07 MB / 0.5363 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/0.5137, allocations: 20 kB / 0.5363 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/0.5145, allocations: 227.5 kB / 0.5365 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.92e-05/0.5146, allocations: 28 kB / 0.5365 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.5146, allocations: 51.98 kB / 0.5366 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.152e-05/0.5147, allocations: 39.86 kB / 0.5366 GB, free: 288 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.409e-05/0.5147, allocations: 35.81 kB / 0.5367 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2749/0.7896, allocations: 2.671 MB / 0.5393 GB, free: 94.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/0.7904, allocations: 265.2 kB / 0.5395 GB, free: 94.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.7906, allocations: 51.22 kB / 0.5396 GB, free: 94.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008367/0.7914, allocations: 69.28 kB / 0.5396 GB, free: 94.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.7916, allocations: 147.2 kB / 0.5398 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.25e-05/0.7917, allocations: 60.89 kB / 0.5398 GB, free: 94.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.793, allocations: 0.9058 MB / 0.5407 GB, free: 94.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.793, allocations: 1.281 kB / 0.5407 GB, free: 94.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002619/0.7957, allocations: 0.8888 MB / 0.5416 GB, free: 94.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (106): * Single equations (assignments): 105 * 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.0003362/0.796, allocations: 199.8 kB / 0.5418 GB, free: 94.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002918/0.7989, allocations: 1.836 MB / 0.5436 GB, free: 93.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.7989, allocations: 7.188 kB / 0.5436 GB, free: 93.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008832/0.7998, allocations: 0.6185 MB / 0.5442 GB, free: 93.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.8017, allocations: 336.8 kB / 0.5445 GB, free: 93.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/0.8108, allocations: 6.351 MB / 0.5507 GB, free: 89.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.8127, allocations: 2.741 MB / 0.5534 GB, free: 88.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.8131, allocations: 138.8 kB / 0.5535 GB, free: 88.57 MB / 446.1 MB Notification: Performance of SimCode: time 1.413e-06/0.8131, allocations: 0 / 0.5535 GB, free: 88.57 MB / 446.1 MB Notification: Performance of Templates: time 0.03737/0.8505, allocations: 36.09 MB / 0.5888 GB, free: 56.25 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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: 10.137550616869703]