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.001438/0.001438, allocations: 109.4 kB / 18.4 MB, free: 4.699 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.001737/0.001737, allocations: 187.1 kB / 19.33 MB, free: 3.781 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.405/1.405, allocations: 205.1 MB / 225.2 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.001147/0.001147, allocations: 51.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08279/0.08395, allocations: 46.62 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.1828/0.2668, allocations: 10.08 MB / 385.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006043/0.2729, allocations: 2.816 MB / 388.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.2748, allocations: 62.5 kB / 388.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00852/0.2833, allocations: 4.198 MB / 393 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004724/0.2881, allocations: 1.048 MB / 394 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.2904, allocations: 0.8259 MB / 394.9 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005536/0.2959, allocations: 4.283 MB / 399.1 MB, free: 364 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01577/0.3118, allocations: 11.01 MB / 410.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.3158, allocations: 2.454 MB / 412.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004723/0.3205, allocations: 2.794 MB / 415.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.3223, allocations: 0.6835 MB / 416.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.3256, allocations: 0.8826 MB / 417 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001695/0.3273, allocations: 1.325 MB / 418.3 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003612/0.3309, allocations: 2.669 MB / 421 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00886/0.3398, allocations: 9.08 MB / 430 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3398, allocations: 0 / 430 MB, free: 9.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3399, allocations: 0 / 430 MB, free: 9.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002499/0.3401, allocations: 4 kB / 430 MB, free: 9.379 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.01491/0.355, allocations: 5.566 MB / 435.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3551, allocations: 8.031 kB / 435.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01342/0.3685, allocations: 2.387 MB / 438 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/0.3732, allocations: 2.369 MB / 440.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.3736, allocations: 373.8 kB / 440.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001666/0.3753, allocations: 483.8 kB / 441.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/0.3916, allocations: 6.636 MB / 447.8 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000147/0.3918, allocations: 11.98 kB / 447.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.3928, allocations: 196 kB / 448 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002257/0.3931, allocations: 230.1 kB / 448.3 MB, free: 6.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01353/0.4066, allocations: 6.118 MB / 454.4 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03805/0.4447, allocations: 22.34 MB / 476.7 MB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.4551, allocations: 10.8 MB / 487.5 MB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4564, allocations: 0.811 MB / 488.3 MB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005278/0.4617, allocations: 3.382 MB / 491.7 MB, free: 8.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4618, allocations: 34.56 kB / 491.7 MB, free: 8.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 2.805e-06/0.4618, allocations: 0 / 491.7 MB, free: 8.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006149/0.4624, allocations: 239.8 kB / 492 MB, free: 8.449 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.4625, allocations: 55.34 kB / 492 MB, free: 8.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.466, allocations: 2.129 MB / 494.2 MB, free: 6.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.466, allocations: 29.7 kB / 494.2 MB, free: 6.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/0.4679, allocations: 2.382 MB / 496.6 MB, free: 3.793 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/0.468, allocations: 71.64 kB / 496.6 MB, free: 3.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008265/0.4688, allocations: 0.5506 MB / 497.2 MB, free: 3.164 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.469, allocations: 353.9 kB / 497.5 MB, free: 2.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4703, allocations: 0.8127 MB / 498.4 MB, free: 1.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002238/0.4726, allocations: 2.235 MB / 0.4889 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003298/0.4759, allocations: 2.96 MB / 0.4917 GB, free: 11.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.633e-05/0.4759, allocations: 19.94 kB / 0.4918 GB, free: 11.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.00501/0.481, allocations: 3.012 MB / 0.4947 GB, free: 8.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.481, allocations: 24.22 kB / 0.4947 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-05/0.4811, allocations: 56.25 kB / 0.4948 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.793e-05/0.4812, allocations: 68 kB / 0.4948 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.483, allocations: 0.5771 MB / 0.4954 GB, free: 7.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.4831, allocations: 99.58 kB / 0.4955 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.4853, allocations: 400.2 kB / 0.4959 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.4855, allocations: 148 kB / 0.496 GB, free: 6.98 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.002743/0.4882, allocations: 1.73 MB / 0.4977 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.4885, allocations: 134.2 kB / 0.4978 GB, free: 5.105 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.489, allocations: 246.9 kB / 0.4981 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001149/0.4892, allocations: 93.66 kB / 0.4982 GB, free: 4.758 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4892, allocations: 3.938 kB / 0.4982 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4892, allocations: 0 / 0.4982 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004844/0.494, allocations: 3.049 MB / 0.5012 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4941, allocations: 3.938 kB / 0.5012 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.4942, allocations: 15.98 kB / 0.5012 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.4942, allocations: 0 / 0.5012 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4942, allocations: 4 kB / 0.5012 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.4942, allocations: 0 / 0.5012 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4942, allocations: 3.938 kB / 0.5012 GB, free: 1.621 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/0.4947, allocations: 366.5 kB / 0.5015 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003552/0.4951, allocations: 223.3 kB / 0.5017 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.4952, allocations: 4 kB / 0.5017 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.4957, allocations: 27.95 kB / 0.5018 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.4957, allocations: 4 kB / 0.5018 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.4957, allocations: 0 / 0.5018 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001947/0.4977, allocations: 1.404 MB / 0.5031 GB, free: 15.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4977, allocations: 0 / 0.5031 GB, free: 15.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002705/0.5004, allocations: 0.9864 MB / 0.5041 GB, free: 14.58 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.0002961/0.5007, allocations: 151.1 kB / 0.5043 GB, free: 14.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.5029, allocations: 1.466 MB / 0.5057 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.5029, allocations: 4.25 kB / 0.5057 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.888e-05/0.503, allocations: 35.98 kB / 0.5057 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.5047, allocations: 337.8 kB / 0.506 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009381/0.514, allocations: 5.945 MB / 0.5119 GB, free: 6.617 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/0.5166, allocations: 3.047 MB / 0.5148 GB, free: 3.543 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/0.5169, allocations: 127.4 kB / 0.5149 GB, free: 3.418 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5169, allocations: 0 / 0.5149 GB, free: 3.418 MB / 446.1 MB Notification: Performance of Templates: time 0.2414/0.7583, allocations: 39.86 MB / 0.5539 GB, free: 145.4 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/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