Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000924/0.0009238, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.535/1.535, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007273/0.0007272, allocations: 92.8 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2095, allocations: 47.58 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.007727/0.2172, allocations: 8.696 MB / 383.8 MB, free: 38.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.2223, allocations: 2.563 MB / 386.3 MB, free: 36.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008958/0.2232, allocations: 61.97 kB / 386.4 MB, free: 36.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008992/0.2241, allocations: 423.4 kB / 386.8 MB, free: 36.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002314/0.2265, allocations: 0.8628 MB / 387.7 MB, free: 35.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.2279, allocations: 0.6609 MB / 388.3 MB, free: 34.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003637/0.2315, allocations: 3.954 MB / 392.3 MB, free: 31.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01227/0.2438, allocations: 10.9 MB / 403.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002365/0.2462, allocations: 1.705 MB / 404.9 MB, free: 18.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.2482, allocations: 1.961 MB / 406.9 MB, free: 16.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003669/0.2486, allocations: 284 kB / 407.1 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.2496, allocations: 491.8 kB / 407.6 MB, free: 16.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004522/0.2501, allocations: 0.7902 MB / 408.4 MB, free: 15.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.2517, allocations: 2.032 MB / 410.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004818/0.2565, allocations: 7.617 MB / 418.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.2566, allocations: 4 kB / 418.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2566, allocations: 0 / 418.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001564/0.2567, allocations: 0 / 418.1 MB, free: 5.531 MB / 298.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.009515/0.2663, allocations: 4.559 MB / 422.6 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.2663, allocations: 8.031 kB / 422.6 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/0.2788, allocations: 2.399 MB / 425 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.2838, allocations: 2.377 MB / 427.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003672/0.2842, allocations: 357.8 kB / 427.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.2859, allocations: 476 kB / 428.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.3022, allocations: 6.628 MB / 434.9 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.3024, allocations: 7.891 kB / 434.9 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/0.3036, allocations: 203.9 kB / 435.1 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002766/0.3039, allocations: 226.1 kB / 435.3 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01394/0.3179, allocations: 6.094 MB / 441.4 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03748/0.3554, allocations: 22.7 MB / 464.1 MB, free: 6.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009834/0.3653, allocations: 10.81 MB / 474.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00139/0.3667, allocations: 0.8617 MB / 475.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005098/0.3718, allocations: 3.499 MB / 479.3 MB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.3719, allocations: 38.56 kB / 479.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/0.3719, allocations: 0 / 479.3 MB, free: 5.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006218/0.3725, allocations: 335.8 kB / 479.6 MB, free: 5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.3726, allocations: 51.41 kB / 479.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.3754, allocations: 2.129 MB / 481.8 MB, free: 2.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.3754, allocations: 25.7 kB / 481.8 MB, free: 2.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.3768, allocations: 2.378 MB / 484.2 MB, free: 364 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.951e-05/0.3769, allocations: 87.41 kB / 484.3 MB, free: 276 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.721e-05/0.377, allocations: 48 kB / 484.3 MB, free: 228 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.3772, allocations: 467.6 kB / 484.8 MB, free: 15.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001191/0.3784, allocations: 0.8362 MB / 485.6 MB, free: 14.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.3805, allocations: 2.266 MB / 487.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/0.3834, allocations: 3.031 MB / 490.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-05/0.3835, allocations: 16 kB / 490.9 MB, free: 8.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004361/0.3878, allocations: 3.069 MB / 494 MB, free: 5.121 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.181e-05/0.3879, allocations: 28 kB / 494 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.798e-05/0.3879, allocations: 48 kB / 494.1 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.806e-05/0.388, allocations: 71.98 kB / 494.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.3896, allocations: 0.5693 MB / 494.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-05/0.3897, allocations: 99.64 kB / 494.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.3915, allocations: 404.7 kB / 495.2 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.3917, allocations: 147.9 kB / 495.4 MB, free: 3.766 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002785/0.3945, allocations: 1.73 MB / 497.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002476/0.3947, allocations: 134.3 kB / 497.2 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005894/0.3953, allocations: 317.2 kB / 497.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002219/0.3956, allocations: 173.6 kB / 497.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3956, allocations: 0 / 497.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3956, allocations: 192 / 497.7 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004569/0.4002, allocations: 3.157 MB / 0.4891 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4002, allocations: 0 / 0.4891 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/0.4003, allocations: 12 kB / 0.4891 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4003, allocations: 3.984 kB / 0.4891 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.4003, allocations: 15.95 kB / 0.4891 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.4003, allocations: 0 / 0.4891 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4003, allocations: 0 / 0.4891 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.4009, allocations: 487.2 kB / 0.4896 GB, free: 13.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003925/0.4013, allocations: 259.2 kB / 0.4899 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.4014, allocations: 7.938 kB / 0.4899 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.4019, allocations: 32.03 kB / 0.4899 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/0.4019, allocations: 7.984 kB / 0.4899 GB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4019, allocations: 0 / 0.4899 GB, free: 13.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00183/0.4038, allocations: 1.388 MB / 0.4913 GB, free: 11.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.854e-06/0.4038, allocations: 0 / 0.4913 GB, free: 11.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002622/0.4064, allocations: 0.9902 MB / 0.4922 GB, free: 10.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002944/0.4067, allocations: 147.1 kB / 0.4924 GB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002417/0.4092, allocations: 1.54 MB / 0.4939 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.4092, allocations: 0 / 0.4939 GB, free: 9.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4093, allocations: 71.97 kB / 0.4939 GB, free: 9.191 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.4108, allocations: 322.9 kB / 0.4942 GB, free: 8.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.422, allocations: 7.574 MB / 0.5016 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1596/0.5816, allocations: 3.046 MB / 0.5046 GB, free: 118.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000344/0.582, allocations: 125.3 kB / 0.5047 GB, free: 118.4 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.582, allocations: 0 / 0.5047 GB, free: 118.4 MB / 394.7 MB Notification: Performance of Templates: time 0.05049/0.6325, allocations: 39.34 MB / 0.5432 GB, free: 89.64 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches