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.001581/0.001581, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001746/0.001746, allocations: 198.7 kB / 25.23 MB, free: 3.539 MB / 14.72 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 1.446/1.446, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 51.92 kB / 348.5 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2677, allocations: 49.16 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009284/0.277, allocations: 9.771 MB / 407.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.283, allocations: 2.776 MB / 410.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001967/0.285, allocations: 63.22 kB / 410.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009055/0.294, allocations: 3.804 MB / 414 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.2987, allocations: 0.9295 MB / 414.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003046/0.3017, allocations: 0.9655 MB / 415.9 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006071/0.3078, allocations: 3.941 MB / 419.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.3204, allocations: 6.268 MB / 426.1 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/0.3248, allocations: 2.269 MB / 428.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005021/0.3298, allocations: 2.562 MB / 431 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001766/0.3316, allocations: 0.6055 MB / 431.6 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.3346, allocations: 0.8122 MB / 432.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002073/0.3366, allocations: 1.212 MB / 433.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0048/0.3414, allocations: 2.42 MB / 436 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.3533, allocations: 8.159 MB / 444.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3533, allocations: 0 / 444.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3533, allocations: 0 / 444.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003136/0.3536, allocations: 4 kB / 444.2 MB, free: 4.648 MB / 350.1 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.01581/0.3694, allocations: 5.179 MB / 449.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3695, allocations: 15.98 kB / 449.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/0.3853, allocations: 2.581 MB / 451.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.3908, allocations: 2.165 MB / 454.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004093/0.3912, allocations: 337.1 kB / 454.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.3931, allocations: 440 kB / 454.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.4118, allocations: 6.107 MB / 461 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002121/0.412, allocations: 7.953 kB / 461 MB, free: 3.691 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001502/0.4135, allocations: 184 kB / 461.2 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002727/0.4138, allocations: 213.3 kB / 461.4 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.4272, allocations: 5.783 MB / 467.2 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04102/0.4682, allocations: 20.22 MB / 487.4 MB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006754/0.475, allocations: 2.746 MB / 490.1 MB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/0.4767, allocations: 0.8906 MB / 491 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006051/0.4828, allocations: 2.508 MB / 493.5 MB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.4828, allocations: 42.73 kB / 493.6 MB, free: 2.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.435e-06/0.4828, allocations: 0 / 493.6 MB, free: 2.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001383/0.4842, allocations: 0.6499 MB / 494.2 MB, free: 1.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4843, allocations: 55.41 kB / 494.3 MB, free: 1.906 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/0.4881, allocations: 1.987 MB / 496.2 MB, free: 15.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.4881, allocations: 33.7 kB / 496.3 MB, free: 15.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001953/0.4901, allocations: 2.268 MB / 498.5 MB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.4903, allocations: 155 kB / 498.7 MB, free: 13.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009539/0.4912, allocations: 0.5514 MB / 499.2 MB, free: 12.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4914, allocations: 345.9 kB / 499.6 MB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.4929, allocations: 0.8754 MB / 0.4887 GB, free: 11.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.4956, allocations: 2.247 MB / 0.4909 GB, free: 8.711 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.4995, allocations: 3.067 MB / 0.4939 GB, free: 4.973 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.899e-05/0.4996, allocations: 16 kB / 0.4939 GB, free: 4.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005744/0.5053, allocations: 3.13 MB / 0.497 GB, free: 1.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.5054, allocations: 31.66 kB / 0.497 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-05/0.5055, allocations: 48 kB / 0.4971 GB, free: 1.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.391e-05/0.5056, allocations: 72 kB / 0.4971 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/0.5075, allocations: 0.5927 MB / 0.4977 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001115/0.5076, allocations: 95.64 kB / 0.4978 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002367/0.51, allocations: 417.3 kB / 0.4982 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/0.5103, allocations: 144 kB / 0.4983 GB, free: 448 kB / 414.1 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.002992/0.5133, allocations: 1.566 MB / 0.4999 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/0.5136, allocations: 143 kB / 0.5 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/0.5147, allocations: 0.598 MB / 0.5006 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004924/0.5152, allocations: 333.3 kB / 0.5009 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5152, allocations: 8 kB / 0.5009 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.5152, allocations: 0 / 0.5009 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008516/0.5238, allocations: 3.813 MB / 0.5046 GB, free: 9.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.5238, allocations: 12.12 kB / 0.5047 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.524, allocations: 59.89 kB / 0.5047 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/0.5241, allocations: 8 kB / 0.5047 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.681e-05/0.5241, allocations: 12 kB / 0.5047 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.5241, allocations: 7.938 kB / 0.5047 GB, free: 9.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5241, allocations: 4 kB / 0.5047 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.5255, allocations: 0.9054 MB / 0.5056 GB, free: 8.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006168/0.5262, allocations: 199 kB / 0.5058 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/0.5265, allocations: 12 kB / 0.5058 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007205/0.5272, allocations: 43.94 kB / 0.5059 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.5273, allocations: 27.84 kB / 0.5059 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/0.5273, allocations: 12 kB / 0.5059 GB, free: 8.445 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002352/0.5296, allocations: 1.343 MB / 0.5072 GB, free: 7.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5296, allocations: 0 / 0.5072 GB, free: 7.105 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003184/0.5328, allocations: 0.9338 MB / 0.5081 GB, free: 6.168 MB / 430.1 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.0003613/0.5332, allocations: 143 kB / 0.5083 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003045/0.5362, allocations: 1.588 MB / 0.5098 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/0.5362, allocations: 4.062 kB / 0.5098 GB, free: 4.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.5365, allocations: 171.7 kB / 0.51 GB, free: 4.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.5383, allocations: 314.3 kB / 0.5103 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.5519, allocations: 5.908 MB / 0.5161 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003807/0.5557, allocations: 2.816 MB / 0.5188 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005625/0.5563, allocations: 127.4 kB / 0.5189 GB, free: 10.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.555e-06/0.5563, allocations: 0 / 0.5189 GB, free: 10.96 MB / 446.1 MB Notification: Performance of Templates: time 0.07095/0.6273, allocations: 37.86 MB / 0.5559 GB, free: 5.035 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.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.429187467088923]