Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008726/0.0008727, allocations: 174 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.6 MB / 223.7 MB, free: 8.938 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00074/0.00074, allocations: 94.36 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002503/0.0002504, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2338, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.007782/0.2416, allocations: 8.724 MB / 385.3 MB, free: 38.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.2475, allocations: 3.614 MB / 388.9 MB, free: 35.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.2495, allocations: 60.25 kB / 389 MB, free: 35.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.2514, allocations: 0.5968 MB / 389.6 MB, free: 34.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003963/0.2554, allocations: 1.3 MB / 390.9 MB, free: 33.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.2575, allocations: 1.297 MB / 392.2 MB, free: 32.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003892/0.2614, allocations: 4.132 MB / 396.3 MB, free: 28.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01491/0.2763, allocations: 14.37 MB / 410.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.279, allocations: 1.763 MB / 412.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.2821, allocations: 2.077 MB / 414.5 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.2832, allocations: 288 kB / 414.8 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002017/0.2852, allocations: 487.8 kB / 415.3 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.2863, allocations: 0.8055 MB / 416.1 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.2886, allocations: 2.116 MB / 418.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007648/0.2962, allocations: 8.526 MB / 426.7 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.2963, allocations: 4 kB / 426.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2963, allocations: 3.938 kB / 426.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002385/0.2965, allocations: 4 kB / 426.8 MB, free: 12.86 MB / 314.7 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.01079/0.3073, allocations: 4.556 MB / 431.3 MB, free: 8.234 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3074, allocations: 8.031 kB / 431.3 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.3199, allocations: 2.395 MB / 433.7 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/0.3245, allocations: 2.373 MB / 436.1 MB, free: 3.402 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/0.3248, allocations: 369.8 kB / 436.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.3258, allocations: 476 kB / 436.9 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.337, allocations: 6.624 MB / 443.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.989e-05/0.3372, allocations: 7.891 kB / 443.5 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004259/0.3376, allocations: 196 kB / 443.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.3378, allocations: 230.1 kB / 444 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.3492, allocations: 6.098 MB / 450.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04214/0.3913, allocations: 22.7 MB / 472.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.4053, allocations: 10.81 MB / 483.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.4074, allocations: 0.8617 MB / 484.4 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007701/0.4152, allocations: 3.495 MB / 487.9 MB, free: 12.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.4152, allocations: 38.5 kB / 488 MB, free: 12.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 2.975e-06/0.4152, allocations: 4 kB / 488 MB, free: 12.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009298/0.4162, allocations: 335.8 kB / 488.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.4162, allocations: 55.41 kB / 488.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/0.4212, allocations: 2.125 MB / 490.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.4213, allocations: 25.7 kB / 490.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002171/0.4235, allocations: 2.374 MB / 492.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.4236, allocations: 87.41 kB / 493 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/0.4238, allocations: 48 kB / 493 MB, free: 7.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003701/0.4242, allocations: 463.7 kB / 493.5 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/0.4262, allocations: 0.8401 MB / 494.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003216/0.4294, allocations: 2.266 MB / 496.6 MB, free: 3.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.4338, allocations: 3.028 MB / 499.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-05/0.4339, allocations: 16 kB / 499.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.007175/0.4411, allocations: 3.072 MB / 0.4909 GB, free: 12.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.226e-05/0.4412, allocations: 28 kB / 0.4909 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.4413, allocations: 48 kB / 0.491 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.4414, allocations: 71.98 kB / 0.491 GB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.444, allocations: 0.5731 MB / 0.4916 GB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001357/0.4442, allocations: 104.1 kB / 0.4917 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.4469, allocations: 396.2 kB / 0.4921 GB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/0.4472, allocations: 148 kB / 0.4922 GB, free: 11.1 MB / 394.7 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.003731/0.4509, allocations: 1.734 MB / 0.4939 GB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.4513, allocations: 130.3 kB / 0.494 GB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/0.4522, allocations: 322.9 kB / 0.4943 GB, free: 8.898 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003037/0.4525, allocations: 173.6 kB / 0.4945 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.4526, allocations: 0 / 0.4945 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4526, allocations: 0 / 0.4945 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007964/0.4606, allocations: 3.15 MB / 0.4976 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4606, allocations: 0 / 0.4976 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.4607, allocations: 16 kB / 0.4976 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.4607, allocations: 8.016 kB / 0.4976 GB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.4608, allocations: 3.938 kB / 0.4976 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.4608, allocations: 4 kB / 0.4976 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4608, allocations: 80 / 0.4976 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/0.4617, allocations: 486.2 kB / 0.4981 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007073/0.4624, allocations: 263.2 kB / 0.4983 GB, free: 4.711 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/0.4628, allocations: 7.938 kB / 0.4983 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.4636, allocations: 28.03 kB / 0.4984 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.4636, allocations: 7.984 kB / 0.4984 GB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.4636, allocations: 4 kB / 0.4984 GB, free: 4.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003042/0.4667, allocations: 1.388 MB / 0.4997 GB, free: 3.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4667, allocations: 0 / 0.4997 GB, free: 3.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003765/0.4705, allocations: 0.9825 MB / 0.5007 GB, free: 2.293 MB / 394.7 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.0002982/0.4708, allocations: 155.1 kB / 0.5008 GB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002477/0.4733, allocations: 1.54 MB / 0.5023 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4733, allocations: 0 / 0.5023 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.4734, allocations: 71.97 kB / 0.5024 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.4751, allocations: 326.8 kB / 0.5027 GB, free: 208 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1742/0.6493, allocations: 8.117 MB / 0.5106 GB, free: 117.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003871/0.6532, allocations: 3.137 MB / 0.5137 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002203/0.6554, allocations: 0.799 MB / 0.5145 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002401/0.6557, allocations: 95.27 kB / 0.5146 GB, free: 116.1 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.6557, allocations: 3.5 kB / 0.5146 GB, free: 116.1 MB / 394.7 MB Notification: Performance of Templates: time 0.02939/0.6851, allocations: 17.12 MB / 0.5313 GB, free: 103 MB / 394.7 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