Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009239, allocations: 92.86 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007936/0.0007937, allocations: 172.9 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004798, allocations: 12 kB / 281.4 MB, free: 3.41 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09499/0.09548, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009103/0.1046, allocations: 9.303 MB / 338.3 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.1102, allocations: 2.765 MB / 341 MB, free: 7.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008959/0.1111, allocations: 59.88 kB / 341.1 MB, free: 7.566 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.1123, allocations: 0.591 MB / 341.7 MB, free: 6.973 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002687/0.115, allocations: 0.9293 MB / 342.6 MB, free: 6.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.1167, allocations: 0.76 MB / 343.4 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004544/0.1213, allocations: 4.128 MB / 347.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01617/0.1375, allocations: 11.15 MB / 358.7 MB, free: 5.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002595/0.1401, allocations: 1.72 MB / 360.4 MB, free: 4.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002976/0.1431, allocations: 2.069 MB / 362.4 MB, free: 2.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005651/0.1437, allocations: 280 kB / 362.7 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.1451, allocations: 495.8 kB / 363.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007313/0.1458, allocations: 0.8055 MB / 364 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002477/0.1483, allocations: 2.12 MB / 366.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.16, allocations: 8.542 MB / 374.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/0.1601, allocations: 0 / 374.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.1601, allocations: 0 / 374.7 MB, free: 5.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000348/0.1604, allocations: 0 / 374.7 MB, free: 5.789 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01359/0.174, allocations: 4.547 MB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1741, allocations: 8.031 kB / 379.2 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1842/0.3583, allocations: 2.399 MB / 381.6 MB, free: 31.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004892/0.3633, allocations: 2.378 MB / 384 MB, free: 31.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.3636, allocations: 365.7 kB / 384.4 MB, free: 31.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.365, allocations: 479.8 kB / 384.8 MB, free: 31.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01793/0.3829, allocations: 6.663 MB / 391.5 MB, free: 30.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.3831, allocations: 6.766 kB / 391.5 MB, free: 30.51 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004794/0.3836, allocations: 196.4 kB / 391.7 MB, free: 30.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002155/0.3838, allocations: 232.4 kB / 391.9 MB, free: 30.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.3955, allocations: 6.133 MB / 398 MB, free: 28.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02739/0.4229, allocations: 22.69 MB / 420.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008475/0.4315, allocations: 10.81 MB / 431.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.4329, allocations: 0.8578 MB / 432.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005222/0.4382, allocations: 3.511 MB / 435.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.4382, allocations: 37 kB / 436 MB, free: 6.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.755e-06/0.4382, allocations: 0 / 436 MB, free: 6.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007124/0.439, allocations: 341.3 kB / 436.3 MB, free: 6.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.439, allocations: 52.91 kB / 436.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/0.4422, allocations: 2.141 MB / 438.5 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.4422, allocations: 29.7 kB / 438.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/0.4439, allocations: 2.377 MB / 440.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.444, allocations: 88.17 kB / 441 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/0.4442, allocations: 198.7 kB / 441.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.4444, allocations: 357.9 kB / 441.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.4457, allocations: 0.844 MB / 442.4 MB, free: 132 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002657/0.4484, allocations: 2.275 MB / 444.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003796/0.4522, allocations: 3.046 MB / 447.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/0.4523, allocations: 15.94 kB / 447.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.005178/0.4574, allocations: 3.091 MB / 450.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.347e-05/0.4575, allocations: 26.41 kB / 450.8 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/0.4576, allocations: 52 kB / 450.9 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.772e-05/0.4577, allocations: 68 kB / 450.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.4593, allocations: 0.5681 MB / 451.5 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.791e-05/0.4594, allocations: 101.5 kB / 451.6 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.4615, allocations: 404.5 kB / 452 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.4617, allocations: 148 kB / 452.1 MB, free: 5.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (310): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002885/0.4646, allocations: 1.732 MB / 453.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.4648, allocations: 134.2 kB / 454 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000535/0.4654, allocations: 321.9 kB / 454.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000195/0.4656, allocations: 165.2 kB / 454.5 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4656, allocations: 3.984 kB / 454.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.4656, allocations: 0 / 454.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.4706, allocations: 3.15 MB / 457.6 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4706, allocations: 4 kB / 457.6 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.4707, allocations: 12 kB / 457.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4707, allocations: 0 / 457.6 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.4707, allocations: 4 kB / 457.6 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.4707, allocations: 4.031 kB / 457.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-05/0.4708, allocations: 7.984 kB / 457.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006009/0.4714, allocations: 490.3 kB / 458.1 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.4718, allocations: 255.3 kB / 458.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.4719, allocations: 6.719 kB / 458.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.4724, allocations: 27.97 kB / 458.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.4724, allocations: 15.98 kB / 458.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.4724, allocations: 7.375 kB / 458.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001903/0.4743, allocations: 1.396 MB / 459.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4743, allocations: 0 / 459.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002667/0.477, allocations: 0.9899 MB / 460.8 MB, free: 12.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002798/0.4773, allocations: 140.7 kB / 461 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.4797, allocations: 1.542 MB / 462.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4797, allocations: 1.938 kB / 462.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.4798, allocations: 81.41 kB / 462.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.4817, allocations: 315.8 kB / 462.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.493, allocations: 8.125 MB / 471 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/0.4959, allocations: 3.133 MB / 474.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002056/0.498, allocations: 0.7984 MB / 475 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.4981, allocations: 99.42 kB / 475.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4982, allocations: 4 kB / 475.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of Templates: time 0.03474/0.5329, allocations: 17.12 MB / 492.2 MB, free: 13.65 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches