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.001414/0.001414, allocations: 110.2 kB / 18.25 MB, free: 4.789 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.001409/0.001409, allocations: 195.3 kB / 19.18 MB, free: 3.867 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.355/1.355, allocations: 205.1 MB / 225 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.00129/0.00129, allocations: 52.27 kB / 281.3 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07369/0.07499, allocations: 46.62 MB / 328 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01088/0.0859, allocations: 10.09 MB / 338 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005464/0.0914, allocations: 2.804 MB / 340.8 MB, free: 7.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.09283, allocations: 67.81 kB / 340.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008855/0.1017, allocations: 4.193 MB / 345.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.1051, allocations: 1.049 MB / 346.2 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.1073, allocations: 0.8336 MB / 347 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004743/0.1121, allocations: 4.249 MB / 351.2 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01382/0.1259, allocations: 11.04 MB / 362.3 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.129, allocations: 2.451 MB / 364.7 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.1329, allocations: 2.788 MB / 367.5 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001392/0.1343, allocations: 0.6797 MB / 368.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.1365, allocations: 0.8904 MB / 369.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001529/0.1381, allocations: 1.313 MB / 370.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003532/0.1416, allocations: 2.673 MB / 373.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1482/0.2898, allocations: 9.019 MB / 382.1 MB, free: 29.86 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.2899, allocations: 0 / 382.1 MB, free: 29.86 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2899, allocations: 0 / 382.1 MB, free: 29.86 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002762/0.2902, allocations: 0 / 382.1 MB, free: 29.86 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.01602/0.3062, allocations: 5.577 MB / 387.7 MB, free: 28.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3063, allocations: 11.84 kB / 387.7 MB, free: 28.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/0.3206, allocations: 2.382 MB / 390.1 MB, free: 28.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005515/0.3262, allocations: 2.376 MB / 392.4 MB, free: 27.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000385/0.3266, allocations: 364.8 kB / 392.8 MB, free: 27.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001833/0.3284, allocations: 481.8 kB / 393.3 MB, free: 27.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.343, allocations: 6.646 MB / 399.9 MB, free: 24.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.3431, allocations: 4 kB / 399.9 MB, free: 24.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005298/0.3436, allocations: 199.4 kB / 400.1 MB, free: 24.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/0.3438, allocations: 232 kB / 400.3 MB, free: 24.55 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.3544, allocations: 6.113 MB / 406.5 MB, free: 21.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03011/0.3845, allocations: 22.63 MB / 429.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.3951, allocations: 10.78 MB / 439.9 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.3966, allocations: 0.8241 MB / 440.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005003/0.4016, allocations: 3.392 MB / 444.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.4016, allocations: 30.56 kB / 444.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.355e-06/0.4016, allocations: 0 / 444.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005424/0.4022, allocations: 227.9 kB / 444.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.4022, allocations: 59.41 kB / 444.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002801/0.405, allocations: 2.14 MB / 446.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4051, allocations: 25.7 kB / 446.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001371/0.4064, allocations: 2.381 MB / 448.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.4065, allocations: 75.59 kB / 449 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006874/0.4072, allocations: 0.5428 MB / 449.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.4074, allocations: 357.9 kB / 449.9 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.4085, allocations: 0.813 MB / 450.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.4105, allocations: 2.237 MB / 453 MB, free: 4.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/0.4135, allocations: 2.972 MB / 455.9 MB, free: 1.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-05/0.4136, allocations: 12 kB / 455.9 MB, free: 1.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004729/0.4183, allocations: 3.013 MB / 458.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.4184, allocations: 28 kB / 459 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.495e-05/0.4185, allocations: 52 kB / 459 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.06e-05/0.4185, allocations: 67.98 kB / 459.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4202, allocations: 0.57 MB / 459.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.53e-05/0.4203, allocations: 103.2 kB / 459.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/0.4222, allocations: 400.2 kB / 460.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001716/0.4224, allocations: 150.8 kB / 460.3 MB, free: 13.14 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 (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.002355/0.4248, allocations: 1.733 MB / 462 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002582/0.425, allocations: 130.3 kB / 462.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004277/0.4255, allocations: 248.3 kB / 462.4 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/0.4256, allocations: 89.67 kB / 462.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4256, allocations: 3.281 kB / 462.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4256, allocations: 3.938 kB / 462.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.4301, allocations: 3.039 MB / 465.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.4301, allocations: 0 / 465.5 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.648e-05/0.4302, allocations: 19.98 kB / 465.6 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.4303, allocations: 7.969 kB / 465.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4303, allocations: 0 / 465.6 MB, free: 7.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4303, allocations: 4 kB / 465.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4303, allocations: 0 / 465.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.4308, allocations: 368.4 kB / 465.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.4311, allocations: 219.5 kB / 466.1 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/0.4313, allocations: 7.938 kB / 466.2 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/0.4318, allocations: 36.02 kB / 466.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.45e-05/0.4318, allocations: 0 / 466.2 MB, free: 7.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.4318, allocations: 4 kB / 466.2 MB, free: 7.191 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001856/0.4337, allocations: 1.404 MB / 467.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4337, allocations: 0 / 467.6 MB, free: 5.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003086/0.4368, allocations: 0.9863 MB / 468.6 MB, free: 4.801 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 (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.0003487/0.4372, allocations: 145.8 kB / 468.7 MB, free: 4.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.4397, allocations: 1.465 MB / 470.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4397, allocations: 0 / 470.2 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/0.4398, allocations: 44.11 kB / 470.2 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.4416, allocations: 326.8 kB / 470.6 MB, free: 2.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.452, allocations: 6.05 MB / 476.6 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002786/0.4548, allocations: 3.047 MB / 479.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.4552, allocations: 123.4 kB / 479.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4552, allocations: 4 kB / 479.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of Templates: time 0.05673/0.512, allocations: 39.55 MB / 0.5071 GB, free: 2.172 MB / 414.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","/var/lib/jenkins1/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