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.00152/0.00152, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001848/0.001848, allocations: 183.1 kB / 18.66 MB, free: 4.438 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.427/1.427, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001154/0.001154, allocations: 47.92 kB / 328.5 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09201, allocations: 46.63 MB / 375.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1876/0.2797, allocations: 10.08 MB / 385.2 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004614/0.2843, allocations: 2.821 MB / 388.1 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005898/0.285, allocations: 63.91 kB / 388.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007458/0.2924, allocations: 4.2 MB / 392.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.295, allocations: 1.044 MB / 393.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.2967, allocations: 0.8238 MB / 394.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003793/0.3005, allocations: 4.286 MB / 398.5 MB, free: 356 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01288/0.3134, allocations: 11 MB / 409.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003289/0.3167, allocations: 2.451 MB / 411.9 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/0.3202, allocations: 2.792 MB / 414.7 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008951/0.3212, allocations: 0.6758 MB / 415.4 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.3228, allocations: 0.8904 MB / 416.3 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.3239, allocations: 1.329 MB / 417.6 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.327, allocations: 2.665 MB / 420.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008605/0.3356, allocations: 9.1 MB / 429.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3356, allocations: 0 / 429.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3356, allocations: 0 / 429.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001482/0.3358, allocations: 0 / 429.4 MB, free: 9.359 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01246/0.3482, allocations: 5.677 MB / 435 MB, free: 3.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3483, allocations: 8.031 kB / 435.1 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/0.362, allocations: 2.409 MB / 437.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004317/0.3663, allocations: 2.378 MB / 439.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002555/0.3666, allocations: 369.8 kB / 440.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007923/0.3674, allocations: 476 kB / 440.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.3784, allocations: 6.643 MB / 447.3 MB, free: 7.254 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.229e-05/0.3785, allocations: 7.953 kB / 447.3 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004589/0.379, allocations: 196 kB / 447.5 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002042/0.3792, allocations: 230.1 kB / 447.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009447/0.3887, allocations: 6.114 MB / 453.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02955/0.4182, allocations: 22.4 MB / 476.3 MB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/0.4287, allocations: 10.8 MB / 487 MB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.43, allocations: 0.8188 MB / 487.9 MB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004723/0.4347, allocations: 3.391 MB / 491.3 MB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.4348, allocations: 38.56 kB / 491.3 MB, free: 8.461 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.4348, allocations: 0 / 491.3 MB, free: 8.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004236/0.4352, allocations: 232.7 kB / 491.5 MB, free: 8.227 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.4352, allocations: 63.28 kB / 491.6 MB, free: 8.152 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002676/0.4379, allocations: 2.141 MB / 493.7 MB, free: 6.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.438, allocations: 25.7 kB / 493.8 MB, free: 5.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001392/0.4394, allocations: 2.475 MB / 496.2 MB, free: 3.473 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.169e-05/0.4394, allocations: 75.73 kB / 496.3 MB, free: 3.398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007037/0.4401, allocations: 0.5589 MB / 496.9 MB, free: 2.832 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.4403, allocations: 349.9 kB / 497.2 MB, free: 2.484 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4414, allocations: 0.8089 MB / 498 MB, free: 1.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002/0.4434, allocations: 2.239 MB / 0.4885 GB, free: 14.72 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.4462, allocations: 2.96 MB / 0.4914 GB, free: 11.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-05/0.4463, allocations: 16 kB / 0.4914 GB, free: 11.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004157/0.4504, allocations: 3.021 MB / 0.4944 GB, free: 8.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.4505, allocations: 28.19 kB / 0.4944 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.417e-05/0.4505, allocations: 56 kB / 0.4945 GB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.279e-05/0.4506, allocations: 67.94 kB / 0.4945 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/0.4522, allocations: 0.5732 MB / 0.4951 GB, free: 7.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-05/0.4523, allocations: 99.59 kB / 0.4952 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.454, allocations: 413.2 kB / 0.4956 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.4542, allocations: 144 kB / 0.4957 GB, free: 6.641 MB / 430.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 (307): * Single equations (assignments): 306 * 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.00211/0.4563, allocations: 1.734 MB / 0.4974 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001775/0.4565, allocations: 143 kB / 0.4975 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003542/0.4569, allocations: 239 kB / 0.4978 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001144/0.457, allocations: 97.59 kB / 0.4979 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.457, allocations: 7.922 kB / 0.4979 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.457, allocations: 0 / 0.4979 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003852/0.4609, allocations: 3.041 MB / 0.5008 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.4609, allocations: 3.938 kB / 0.5008 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.461, allocations: 16 kB / 0.5009 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.461, allocations: 0 / 0.5009 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.461, allocations: 3.984 kB / 0.5009 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.461, allocations: 4 kB / 0.5009 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.461, allocations: 0 / 0.5009 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.4614, allocations: 379.2 kB / 0.5012 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.4617, allocations: 232.1 kB / 0.5014 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/0.4618, allocations: 4.359 kB / 0.5015 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/0.4623, allocations: 27.97 kB / 0.5015 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.4623, allocations: 7.984 kB / 0.5015 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.4623, allocations: 4 kB / 0.5015 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001675/0.464, allocations: 1.4 MB / 0.5029 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.464, allocations: 0 / 0.5029 GB, free: 15.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002211/0.4662, allocations: 1.004 MB / 0.5038 GB, free: 14.2 MB / 446.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 (7): * Single equations (assignments): 6 * 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.0002205/0.4664, allocations: 143.2 kB / 0.504 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.4683, allocations: 1.469 MB / 0.5054 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4684, allocations: 0 / 0.5054 GB, free: 12.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.898e-05/0.4684, allocations: 48.17 kB / 0.5055 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.47, allocations: 333.2 kB / 0.5058 GB, free: 12.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009079/0.4791, allocations: 6.177 MB / 0.5118 GB, free: 6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003028/0.4821, allocations: 3.136 MB / 0.5149 GB, free: 2.836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001997/0.4841, allocations: 0.7905 MB / 0.5156 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.4844, allocations: 95.42 kB / 0.5157 GB, free: 1.945 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4844, allocations: 4 kB / 0.5157 GB, free: 1.941 MB / 446.1 MB Notification: Performance of Templates: time 0.03196/0.5163, allocations: 17.96 MB / 0.5333 GB, free: 15.96 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches