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.001043/0.001043, allocations: 178.6 kB / 16.41 MB, free: 5.73 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.329/1.329, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0007395/0.0007395, allocations: 82.31 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002901/0.00029, allocations: 8 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2075, allocations: 47.58 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.006974/0.2145, allocations: 8.641 MB / 383.2 MB, free: 38.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005229/0.2198, allocations: 2.56 MB / 385.8 MB, free: 36.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.2214, allocations: 61 kB / 385.8 MB, free: 36.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.2225, allocations: 420.1 kB / 386.2 MB, free: 36.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.2253, allocations: 0.8679 MB / 387.1 MB, free: 35.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.2269, allocations: 0.6419 MB / 387.7 MB, free: 35.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003725/0.2306, allocations: 3.944 MB / 391.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01243/0.2431, allocations: 9.325 MB / 401 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.2454, allocations: 1.713 MB / 402.7 MB, free: 20.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/0.2478, allocations: 1.961 MB / 404.7 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004792/0.2483, allocations: 284 kB / 405 MB, free: 18.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.2496, allocations: 491.7 kB / 405.4 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004912/0.2501, allocations: 0.7824 MB / 406.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009699/0.2511, allocations: 0.9058 MB / 407.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004568/0.2557, allocations: 7.625 MB / 414.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2557, allocations: 0 / 414.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2557, allocations: 0 / 414.8 MB, free: 8.488 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.2558, allocations: 0 / 414.8 MB, free: 8.488 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.009269/0.2651, allocations: 4.598 MB / 419.4 MB, free: 3.824 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2651, allocations: 12.03 kB / 419.4 MB, free: 3.812 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01206/0.2772, allocations: 2.402 MB / 421.8 MB, free: 1.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003941/0.2812, allocations: 2.349 MB / 424.1 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.2814, allocations: 369.7 kB / 424.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008492/0.2823, allocations: 476 kB / 424.9 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01115/0.2935, allocations: 6.624 MB / 431.6 MB, free: 7.516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-05/0.2936, allocations: 4 kB / 431.6 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004441/0.294, allocations: 200 kB / 431.8 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002035/0.2942, allocations: 230.1 kB / 432 MB, free: 7.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01042/0.3047, allocations: 6.094 MB / 438.1 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03093/0.3356, allocations: 22.69 MB / 460.8 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009355/0.345, allocations: 10.81 MB / 471.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.3463, allocations: 0.8619 MB / 472.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004874/0.3512, allocations: 3.503 MB / 475.9 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3513, allocations: 30.56 kB / 476 MB, free: 8.297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.3513, allocations: 4 kB / 476 MB, free: 8.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007191/0.352, allocations: 336.2 kB / 476.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3521, allocations: 55.41 kB / 476.4 MB, free: 7.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003438/0.3555, allocations: 2.121 MB / 478.5 MB, free: 5.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3555, allocations: 25.7 kB / 478.5 MB, free: 5.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001381/0.3569, allocations: 2.378 MB / 480.9 MB, free: 3.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/0.357, allocations: 91.39 kB / 481 MB, free: 3.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.3571, allocations: 44 kB / 481 MB, free: 3.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002384/0.3574, allocations: 467.7 kB / 481.5 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.3586, allocations: 0.8362 MB / 482.3 MB, free: 1.879 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/0.3607, allocations: 2.259 MB / 484.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.3625, allocations: 1.411 MB / 486 MB, free: 13.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/0.3625, allocations: 16 kB / 486 MB, free: 13.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004311/0.3668, allocations: 3.077 MB / 489.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.3669, allocations: 24 kB / 489.1 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.114e-05/0.367, allocations: 52 kB / 489.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.694e-05/0.367, allocations: 75.98 kB / 489.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.3687, allocations: 0.5693 MB / 489.8 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.54e-05/0.3688, allocations: 99.64 kB / 489.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/0.3706, allocations: 400.6 kB / 490.3 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00019/0.3708, allocations: 151.9 kB / 490.4 MB, free: 9.043 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.002398/0.3733, allocations: 1.734 MB / 492.2 MB, free: 7.297 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.3735, allocations: 134.2 kB / 492.3 MB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005053/0.374, allocations: 318.9 kB / 492.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001914/0.3742, allocations: 165.6 kB / 492.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3742, allocations: 0 / 492.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3742, allocations: 0 / 492.8 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.3792, allocations: 3.151 MB / 495.9 MB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3792, allocations: 4 kB / 495.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.3793, allocations: 11.94 kB / 495.9 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3793, allocations: 3.984 kB / 495.9 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3794, allocations: 4 kB / 495.9 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3794, allocations: 8.031 kB / 495.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3794, allocations: 0 / 495.9 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/0.38, allocations: 490.2 kB / 496.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.3804, allocations: 263.2 kB / 496.7 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/0.3806, allocations: 4 kB / 496.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005224/0.3812, allocations: 23.97 kB / 496.7 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.679e-05/0.3812, allocations: 12.05 kB / 496.7 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3812, allocations: 4 kB / 496.7 MB, free: 2.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001892/0.3831, allocations: 1.384 MB / 498.1 MB, free: 1.238 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3831, allocations: 0 / 498.1 MB, free: 1.238 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002452/0.3856, allocations: 0.9864 MB / 499.1 MB, free: 252 kB / 378.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.0002458/0.3858, allocations: 151.1 kB / 499.2 MB, free: 92 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002372/0.3882, allocations: 1.531 MB / 0.489 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3882, allocations: 1.875 kB / 0.489 GB, free: 14.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.3883, allocations: 79.91 kB / 0.4891 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/0.3899, allocations: 323.2 kB / 0.4894 GB, free: 14.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.401, allocations: 7.578 MB / 0.4968 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/0.4043, allocations: 3.044 MB / 0.4998 GB, free: 3.488 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.4048, allocations: 131.4 kB / 0.4999 GB, free: 3.359 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.4048, allocations: 0 / 0.4999 GB, free: 3.359 MB / 394.7 MB Notification: Performance of Templates: time 0.1944/0.5992, allocations: 39.51 MB / 0.5385 GB, free: 92.4 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