Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009025/0.0009026, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.29/1.29, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006523/0.0006523, allocations: 85.25 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003172, allocations: 8 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.24, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.007244/0.2473, allocations: 8.367 MB / 383.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005621/0.253, allocations: 2.502 MB / 386 MB, free: 36.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001841/0.2549, allocations: 56.97 kB / 386 MB, free: 36.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.2565, allocations: 398.5 kB / 386.4 MB, free: 36.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.2602, allocations: 0.8964 MB / 387.3 MB, free: 35.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001922/0.2621, allocations: 0.6279 MB / 387.9 MB, free: 35.28 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004224/0.2664, allocations: 3.621 MB / 391.6 MB, free: 32.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/0.2798, allocations: 9.72 MB / 401.3 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.2827, allocations: 1.553 MB / 402.8 MB, free: 20.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003146/0.2859, allocations: 1.821 MB / 404.7 MB, free: 19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00097/0.2869, allocations: 256 kB / 404.9 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.289, allocations: 459.8 kB / 405.4 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009763/0.29, allocations: 0.7356 MB / 406.1 MB, free: 17.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003115/0.2931, allocations: 1.857 MB / 407.9 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006654/0.2998, allocations: 6.813 MB / 414.8 MB, free: 8.859 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.738e-06/0.2999, allocations: 4 kB / 414.8 MB, free: 8.855 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2999, allocations: 0 / 414.8 MB, free: 8.855 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003532/0.3002, allocations: 0 / 414.8 MB, free: 8.855 MB / 298.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.01114/0.3114, allocations: 4.23 MB / 419 MB, free: 4.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3114, allocations: 8.031 kB / 419 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01407/0.3255, allocations: 2.591 MB / 421.6 MB, free: 1.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/0.3298, allocations: 2.158 MB / 423.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004405/0.3303, allocations: 337 kB / 424.1 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.3321, allocations: 436 kB / 424.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.3489, allocations: 6.095 MB / 430.6 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002209/0.3491, allocations: 11.89 kB / 430.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/0.3505, allocations: 184 kB / 430.8 MB, free: 8.656 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002614/0.3508, allocations: 213.3 kB / 431 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.3639, allocations: 5.767 MB / 436.8 MB, free: 2.664 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03471/0.3987, allocations: 21.49 MB / 458.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008263/0.407, allocations: 8.97 MB / 467.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001607/0.4086, allocations: 1.023 MB / 468.2 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006361/0.415, allocations: 3.682 MB / 471.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.4151, allocations: 34.56 kB / 472 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.4151, allocations: 0 / 472 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001344/0.4165, allocations: 0.7611 MB / 472.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.4165, allocations: 59.34 kB / 472.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003374/0.4199, allocations: 1.978 MB / 474.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/0.42, allocations: 37.7 kB / 474.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.4214, allocations: 2.177 MB / 477 MB, free: 7.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.4216, allocations: 158.3 kB / 477.1 MB, free: 7.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.4218, allocations: 52 kB / 477.2 MB, free: 7.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002716/0.422, allocations: 455.9 kB / 477.6 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.4236, allocations: 0.8988 MB / 478.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.426, allocations: 2.287 MB / 480.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003484/0.4295, allocations: 3.133 MB / 483.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.351e-05/0.4296, allocations: 16 kB / 484 MB, free: 15.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.005353/0.435, allocations: 3.184 MB / 487.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.435, allocations: 24 kB / 487.2 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.7e-05/0.4351, allocations: 51.98 kB / 487.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.86e-05/0.4352, allocations: 64 kB / 487.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.437, allocations: 0.5927 MB / 487.9 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001037/0.4371, allocations: 95.59 kB / 488 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.4391, allocations: 412.3 kB / 488.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.4393, allocations: 148 kB / 488.5 MB, free: 11.08 MB / 378.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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002696/0.442, allocations: 1.562 MB / 490.1 MB, free: 9.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.4423, allocations: 134.3 kB / 490.2 MB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.4435, allocations: 0.6999 MB / 490.9 MB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005409/0.444, allocations: 410.8 kB / 491.3 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.444, allocations: 3.938 kB / 491.3 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4441, allocations: 7.922 kB / 491.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007133/0.4512, allocations: 4.065 MB / 495.4 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.4512, allocations: 4 kB / 495.4 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.4515, allocations: 59.91 kB / 495.4 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.4515, allocations: 4.688 kB / 495.5 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.4516, allocations: 19.88 kB / 495.5 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.4516, allocations: 15.98 kB / 495.5 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.4516, allocations: 11.94 kB / 495.5 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.453, allocations: 1.025 MB / 496.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/0.4536, allocations: 295.1 kB / 496.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.4539, allocations: 19.92 kB / 496.8 MB, free: 2.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006381/0.4545, allocations: 39.95 kB / 496.9 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.4546, allocations: 39.91 kB / 496.9 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.4546, allocations: 12 kB / 496.9 MB, free: 2.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002078/0.4567, allocations: 1.319 MB / 498.2 MB, free: 1.047 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4567, allocations: 0 / 498.2 MB, free: 1.047 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002889/0.4596, allocations: 0.9207 MB / 499.2 MB, free: 124 kB / 378.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003369/0.46, allocations: 174.9 kB / 499.3 MB, free: 15.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002959/0.4629, allocations: 1.733 MB / 0.4893 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.463, allocations: 64 / 0.4893 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.4633, allocations: 231.6 kB / 0.4895 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.4658, allocations: 287.7 kB / 0.4898 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.4776, allocations: 7.291 MB / 0.4969 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00298/0.4807, allocations: 2.816 MB / 0.4997 GB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/0.4812, allocations: 131.4 kB / 0.4998 GB, free: 3.34 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4812, allocations: 4 kB / 0.4998 GB, free: 3.336 MB / 394.7 MB Notification: Performance of Templates: time 0.2027/0.6839, allocations: 37.24 MB / 0.5362 GB, free: 95.6 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches