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.001548/0.001548, allocations: 115 kB / 17.93 MB, free: 5.566 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.001839/0.001839, allocations: 189.4 kB / 18.86 MB, free: 4.645 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.395/1.395, allocations: 205.1 MB / 224.7 MB, free: 12.31 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.002094/0.002094, allocations: 44.22 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1124, allocations: 46.63 MB / 327.4 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01125/0.1237, allocations: 9.953 MB / 337.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006162/0.1299, allocations: 2.765 MB / 340.2 MB, free: 7.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.1323, allocations: 63.81 kB / 340.2 MB, free: 7.934 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00937/0.1417, allocations: 4.005 MB / 344.2 MB, free: 3.914 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004712/0.1464, allocations: 0.9254 MB / 345.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002373/0.1488, allocations: 0.76 MB / 345.9 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.1542, allocations: 4.257 MB / 350.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0153/0.1695, allocations: 12.76 MB / 362.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003712/0.1733, allocations: 2.489 MB / 365.4 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003672/0.177, allocations: 2.807 MB / 368.2 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.1782, allocations: 0.6836 MB / 368.9 MB, free: 11.08 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.1801, allocations: 0.8904 MB / 369.8 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001185/0.1813, allocations: 1.325 MB / 371.1 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003274/0.1846, allocations: 2.669 MB / 373.8 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1845/0.3691, allocations: 7.901 MB / 381.7 MB, free: 30.8 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.3692, allocations: 3.031 kB / 381.7 MB, free: 30.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3692, allocations: 0 / 381.7 MB, free: 30.8 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000298/0.3695, allocations: 0 / 381.7 MB, free: 30.8 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.01818/0.3877, allocations: 5.591 MB / 387.3 MB, free: 29.31 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.3878, allocations: 9.281 kB / 387.3 MB, free: 29.31 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.014/0.4018, allocations: 2.389 MB / 389.7 MB, free: 29.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006215/0.408, allocations: 2.377 MB / 392.1 MB, free: 28.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003926/0.4084, allocations: 366.3 kB / 392.4 MB, free: 28.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/0.4105, allocations: 480.7 kB / 392.9 MB, free: 28.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.424, allocations: 6.662 MB / 399.6 MB, free: 25.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001156/0.4242, allocations: 0 / 399.6 MB, free: 25.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005379/0.4247, allocations: 198.7 kB / 399.7 MB, free: 25.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.4249, allocations: 235.5 kB / 400 MB, free: 25.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009746/0.4347, allocations: 6.132 MB / 406.1 MB, free: 21.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0279/0.4626, allocations: 22.63 MB / 428.7 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009545/0.4722, allocations: 10.83 MB / 439.6 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.4737, allocations: 0.8578 MB / 440.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00539/0.4791, allocations: 3.502 MB / 443.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.4791, allocations: 40.08 kB / 444 MB, free: 14.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.595e-06/0.4791, allocations: 4 kB / 444 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007025/0.4799, allocations: 336.2 kB / 444.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.4799, allocations: 51.41 kB / 444.4 MB, free: 14.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002633/0.4825, allocations: 2.137 MB / 446.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.4826, allocations: 29.7 kB / 446.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001344/0.4839, allocations: 2.377 MB / 448.9 MB, free: 9.551 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.484, allocations: 91.08 kB / 449 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006959/0.4847, allocations: 0.5546 MB / 449.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4849, allocations: 352.7 kB / 449.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.486, allocations: 0.8479 MB / 450.7 MB, free: 7.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.4881, allocations: 2.276 MB / 453 MB, free: 4.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.491, allocations: 3.035 MB / 456 MB, free: 1.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.752e-05/0.491, allocations: 16 kB / 456.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004488/0.4955, allocations: 3.093 MB / 459.2 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.4956, allocations: 35.78 kB / 459.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.529e-05/0.4956, allocations: 52 kB / 459.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.755e-05/0.4957, allocations: 67.98 kB / 459.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.4973, allocations: 0.5628 MB / 459.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.493e-05/0.4974, allocations: 101.9 kB / 460 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.4993, allocations: 400.2 kB / 460.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.4995, allocations: 152 kB / 460.5 MB, free: 13.12 MB / 366.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.002408/0.5019, allocations: 1.728 MB / 462.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002472/0.5022, allocations: 130.3 kB / 462.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005392/0.5027, allocations: 325.5 kB / 462.7 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001997/0.503, allocations: 166.1 kB / 462.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.503, allocations: 0 / 462.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.503, allocations: 0 / 462.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004661/0.5076, allocations: 3.156 MB / 466 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5077, allocations: 0 / 466 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.5078, allocations: 8 kB / 466 MB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.5078, allocations: 8 kB / 466 MB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.5078, allocations: 7.984 kB / 466 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.5078, allocations: 0 / 466 MB, free: 7.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5078, allocations: 3.938 kB / 466 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.5085, allocations: 494.6 kB / 466.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003697/0.5088, allocations: 231.3 kB / 466.7 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.509, allocations: 3.984 kB / 466.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.5095, allocations: 27.97 kB / 466.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.5095, allocations: 11.92 kB / 466.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.5095, allocations: 4 kB / 466.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001777/0.5113, allocations: 1.396 MB / 468.2 MB, free: 5.391 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5113, allocations: 4 kB / 468.2 MB, free: 5.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002967/0.5143, allocations: 0.9903 MB / 469.2 MB, free: 4.391 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.0003063/0.5146, allocations: 147.7 kB / 469.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002565/0.5172, allocations: 1.55 MB / 470.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.5172, allocations: 0 / 470.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.5173, allocations: 83.33 kB / 470.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.5191, allocations: 342.1 kB / 471.3 MB, free: 2.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.531, allocations: 7.96 MB / 479.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002636/0.5336, allocations: 3.051 MB / 482.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.5341, allocations: 123.4 kB / 482.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5341, allocations: 0 / 482.4 MB, free: 7.266 MB / 382.1 MB Notification: Performance of Templates: time 0.06222/0.5963, allocations: 39.92 MB / 0.5101 GB, free: 15.36 MB / 430.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/jenkins1/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