Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.001849/0.001849, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002464/0.002464, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 258.3 MB, free: 7.992 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+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.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 47.92 kB / 379 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2826, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01131/0.2939, allocations: 9.206 MB / 441.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005705/0.2996, allocations: 2.671 MB / 444.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.3006, allocations: 75.69 kB / 444.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008423/0.3091, allocations: 3.762 MB / 448.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003464/0.3125, allocations: 0.768 MB / 448.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.3152, allocations: 0.954 MB / 449.8 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005009/0.3202, allocations: 3.65 MB / 453.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.3307, allocations: 6.18 MB / 459.7 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.3341, allocations: 2.143 MB / 461.8 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004231/0.3383, allocations: 2.387 MB / 464.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009244/0.3392, allocations: 0.5859 MB / 464.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.3408, allocations: 0.82 MB / 465.6 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009714/0.3418, allocations: 1.111 MB / 466.7 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002461/0.3442, allocations: 2.28 MB / 469 MB, free: 2.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008386/0.3526, allocations: 7.928 MB / 476.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3526, allocations: 0 / 476.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3526, allocations: 4 kB / 476.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002075/0.3529, allocations: 0 / 476.9 MB, free: 10.19 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.01268/0.3655, allocations: 4.861 MB / 481.8 MB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.3656, allocations: 8.031 kB / 481.8 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007819/0.3734, allocations: 1.282 MB / 483.1 MB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005302/0.3787, allocations: 2.321 MB / 485.4 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.379, allocations: 308.4 kB / 485.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.3801, allocations: 415.9 kB / 486.1 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.3913, allocations: 5.485 MB / 491.6 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.437e-05/0.3914, allocations: 0 / 491.6 MB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/0.3917, allocations: 172 kB / 491.8 MB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.3919, allocations: 176.6 kB / 491.9 MB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008823/0.4007, allocations: 4.808 MB / 496.7 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02845/0.4292, allocations: 18.54 MB / 0.5032 GB, free: 3.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/0.433, allocations: 1.784 MB / 0.5049 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001216/0.4342, allocations: 0.7145 MB / 0.5056 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.4343, allocations: 40.95 kB / 0.5057 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.4344, allocations: 59.42 kB / 0.5057 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 2.404e-06/0.4344, allocations: 0 / 0.5057 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.002569/0.4369, allocations: 1.558 MB / 0.5073 GB, free: 14.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.437, allocations: 64.41 kB / 0.5073 GB, free: 14.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.4389, allocations: 1.346 MB / 0.5086 GB, free: 13.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.086e-05/0.439, allocations: 41.7 kB / 0.5087 GB, free: 13.47 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.4404, allocations: 1.823 MB / 0.5104 GB, free: 11.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.4407, allocations: 376.9 kB / 0.5108 GB, free: 11.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006024/0.4413, allocations: 463.6 kB / 0.5112 GB, free: 10.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4415, allocations: 353.8 kB / 0.5116 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.4427, allocations: 0.8279 MB / 0.5124 GB, free: 9.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.4448, allocations: 1.831 MB / 0.5142 GB, free: 7.293 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/0.4481, allocations: 2.798 MB / 0.5169 GB, free: 4.023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/0.4482, allocations: 8 kB / 0.5169 GB, free: 4.016 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004244/0.4524, allocations: 2.746 MB / 0.5196 GB, free: 1.258 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.4524, allocations: 20 kB / 0.5196 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.302e-05/0.4525, allocations: 32 kB / 0.5197 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.95e-05/0.4525, allocations: 48 kB / 0.5197 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/0.4542, allocations: 0.5193 MB / 0.5202 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.648e-05/0.4542, allocations: 75.72 kB / 0.5203 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.4555, allocations: 298 kB / 0.5206 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.4556, allocations: 112 kB / 0.5207 GB, free: 168 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.002215/0.4578, allocations: 1.488 MB / 0.5221 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.4581, allocations: 131.2 kB / 0.5223 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.4603, allocations: 1.45 MB / 0.5237 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001489/0.4618, allocations: 1.049 MB / 0.5247 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4618, allocations: 0 / 0.5247 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/0.4618, allocations: 7.969 kB / 0.5247 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.4795, allocations: 11.06 MB / 0.5355 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-05/0.4795, allocations: 20 kB / 0.5355 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.4803, allocations: 231.5 kB / 0.5357 GB, free: 360 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.898e-05/0.4804, allocations: 32.69 kB / 0.5358 GB, free: 328 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.214e-05/0.4805, allocations: 52 kB / 0.5358 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.403e-05/0.4805, allocations: 47.84 kB / 0.5359 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.883e-05/0.4805, allocations: 35.81 kB / 0.5359 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.225/0.7055, allocations: 2.657 MB / 0.5385 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008011/0.7063, allocations: 268.4 kB / 0.5388 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/0.7065, allocations: 51.5 kB / 0.5388 GB, free: 94.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.7072, allocations: 68.23 kB / 0.5389 GB, free: 94.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/0.7074, allocations: 151.8 kB / 0.539 GB, free: 94.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.65e-05/0.7075, allocations: 60.75 kB / 0.5391 GB, free: 94.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.7089, allocations: 0.9042 MB / 0.54 GB, free: 94.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.7089, allocations: 0 / 0.54 GB, free: 94.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002328/0.7112, allocations: 0.8834 MB / 0.5408 GB, free: 94.3 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.0003073/0.7115, allocations: 207 kB / 0.541 GB, free: 94.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.7142, allocations: 1.838 MB / 0.5428 GB, free: 93.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.39e-05/0.7142, allocations: 3.25 kB / 0.5428 GB, free: 93.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008477/0.715, allocations: 0.6152 MB / 0.5434 GB, free: 93.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00194/0.717, allocations: 341.6 kB / 0.5437 GB, free: 93.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008596/0.7256, allocations: 6.341 MB / 0.5499 GB, free: 89.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.7273, allocations: 2.741 MB / 0.5526 GB, free: 88.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.7277, allocations: 147.6 kB / 0.5527 GB, free: 88.49 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7277, allocations: 0 / 0.5527 GB, free: 88.49 MB / 446.1 MB Notification: Performance of Templates: time 0.03876/0.7665, allocations: 36.09 MB / 0.588 GB, free: 56.22 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 9.311688574030995]