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.0009511/0.0009515, allocations: 97.31 kB / 16.95 MB, free: 6.891 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.001171/0.001171, allocations: 184.9 kB / 17.84 MB, free: 6.137 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.689/1.689, allocations: 205.4 MB / 224 MB, free: 13.08 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.000494/0.0004943, allocations: 16 kB / 280.8 MB, free: 3.711 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1063, allocations: 47.58 MB / 328.4 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009728/0.116, allocations: 8.646 MB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00632/0.1224, allocations: 2.555 MB / 339.6 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.1245, allocations: 63.81 kB / 339.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.1265, allocations: 417.4 kB / 340 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.1304, allocations: 0.871 MB / 340.9 MB, free: 7.461 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002119/0.1325, allocations: 0.6353 MB / 341.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005684/0.1382, allocations: 3.956 MB / 345.5 MB, free: 2.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01823/0.1565, allocations: 9.312 MB / 354.8 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.1599, allocations: 1.705 MB / 356.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003601/0.1635, allocations: 1.969 MB / 358.5 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.1646, allocations: 280 kB / 358.8 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.1669, allocations: 491.7 kB / 359.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001331/0.1682, allocations: 0.7863 MB / 360 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.1703, allocations: 0.9097 MB / 360.9 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008839/0.1792, allocations: 7.624 MB / 368.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1792, allocations: 0 / 368.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1792, allocations: 4 kB / 368.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002966/0.1795, allocations: 4 kB / 368.6 MB, free: 11.66 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.01315/0.1927, allocations: 4.594 MB / 373.2 MB, free: 6.996 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.1928, allocations: 8.031 kB / 373.2 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.2068, allocations: 2.398 MB / 375.6 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006149/0.213, allocations: 2.353 MB / 377.9 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/0.2135, allocations: 361.8 kB / 378.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.2153, allocations: 476 kB / 378.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2328/0.4481, allocations: 6.622 MB / 385.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.4483, allocations: 1.938 kB / 385.4 MB, free: 43.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000468/0.4487, allocations: 202.6 kB / 385.6 MB, free: 43.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002797/0.449, allocations: 228 kB / 385.8 MB, free: 43.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.4617, allocations: 6.099 MB / 391.9 MB, free: 41.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03272/0.4944, allocations: 22.7 MB / 414.6 MB, free: 23.8 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006909/0.5014, allocations: 10.79 MB / 425.4 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.5026, allocations: 0.8676 MB / 426.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004352/0.5069, allocations: 3.502 MB / 429.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.507, allocations: 30.56 kB / 429.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.365e-06/0.507, allocations: 0 / 429.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006431/0.5077, allocations: 340.5 kB / 430.1 MB, free: 6.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.5077, allocations: 55.41 kB / 430.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.5104, allocations: 2.125 MB / 432.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.5105, allocations: 29.7 kB / 432.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/0.5115, allocations: 2.371 MB / 434.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.5116, allocations: 91.39 kB / 434.8 MB, free: 1.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5117, allocations: 48 kB / 434.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5119, allocations: 459.7 kB / 435.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.513, allocations: 0.8362 MB / 436.1 MB, free: 220 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.5155, allocations: 2.266 MB / 438.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.5177, allocations: 1.403 MB / 439.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.852e-05/0.5178, allocations: 16 kB / 439.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.005844/0.5237, allocations: 3.077 MB / 442.9 MB, free: 8.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.009e-05/0.5237, allocations: 24.22 kB / 442.9 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/0.5239, allocations: 56 kB / 442.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.524, allocations: 72 kB / 443 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.5259, allocations: 0.5771 MB / 443.6 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001364/0.526, allocations: 99.64 kB / 443.7 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.5285, allocations: 400.2 kB / 444.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.5288, allocations: 148 kB / 444.2 MB, free: 7.379 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003677/0.5325, allocations: 1.73 MB / 445.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/0.5329, allocations: 134.3 kB / 446.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000708/0.5336, allocations: 322.8 kB / 446.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002357/0.5339, allocations: 167.5 kB / 446.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5339, allocations: 0 / 446.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5339, allocations: 0 / 446.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00734/0.5412, allocations: 3.16 MB / 449.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.5413, allocations: 4 kB / 449.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.5414, allocations: 8 kB / 449.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.5414, allocations: 0 / 449.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.5414, allocations: 7.984 kB / 449.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5414, allocations: 0 / 449.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5414, allocations: 0 / 449.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007664/0.5422, allocations: 494.2 kB / 450.2 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005974/0.5428, allocations: 259.3 kB / 450.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.5431, allocations: 4 kB / 450.5 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/0.5436, allocations: 23.97 kB / 450.5 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.5437, allocations: 7.984 kB / 450.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.5437, allocations: 4 kB / 450.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002154/0.5458, allocations: 1.384 MB / 451.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5458, allocations: 4.062 kB / 451.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00304/0.5489, allocations: 0.9877 MB / 452.9 MB, free: 14.59 MB / 350.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 (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.0003947/0.5493, allocations: 148 kB / 453 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.5519, allocations: 1.536 MB / 454.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.5519, allocations: 0 / 454.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.5521, allocations: 78.59 kB / 454.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001613/0.5537, allocations: 324.8 kB / 455 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.5668, allocations: 7.685 MB / 462.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003654/0.5705, allocations: 3.136 MB / 465.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002171/0.5727, allocations: 0.7945 MB / 466.6 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.573, allocations: 99.42 kB / 466.7 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of SimCode: time 1.232e-06/0.573, allocations: 3.938 kB / 466.7 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of Templates: time 0.03507/0.6081, allocations: 16.85 MB / 483.5 MB, free: 15.95 MB / 382.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/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_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches