Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001779/0.001779, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.7 MB / 245.5 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009364/0.0009364, allocations: 100.3 kB / 296.7 MB, free: 6.441 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000933/0.0009331, allocations: 55.91 kB / 356.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2323, allocations: 50.45 MB / 407.1 MB, free: 27.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01135/0.2437, allocations: 9.613 MB / 416.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006923/0.2507, allocations: 2.745 MB / 419.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.2524, allocations: 75.75 kB / 419.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009744/0.2622, allocations: 3.973 MB / 423.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.2661, allocations: 0.6608 MB / 424.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.2688, allocations: 0.923 MB / 425 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004506/0.2733, allocations: 3.918 MB / 429 MB, free: 5.812 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01087/0.2842, allocations: 9.183 MB / 438.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002955/0.2872, allocations: 2.146 MB / 440.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003663/0.2909, allocations: 2.581 MB / 442.9 MB, free: 7.77 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009179/0.2918, allocations: 0.5117 MB / 443.4 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.2936, allocations: 0.738 MB / 444.1 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009173/0.2946, allocations: 1.079 MB / 445.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003068/0.2977, allocations: 2.396 MB / 447.6 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008657/0.3063, allocations: 8.756 MB / 456.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.3064, allocations: 4 kB / 456.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3064, allocations: 3.938 kB / 456.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000228/0.3066, allocations: 0 / 456.4 MB, free: 10.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01394/0.3206, allocations: 5.327 MB / 461.7 MB, free: 4.844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3206, allocations: 12.03 kB / 461.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007393/0.328, allocations: 1.319 MB / 463 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005102/0.3332, allocations: 2.505 MB / 465.5 MB, free: 0.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002532/0.3335, allocations: 353.3 kB / 465.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009986/0.3345, allocations: 451.9 kB / 466.3 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0116/0.3461, allocations: 6.117 MB / 472.4 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.344e-05/0.3462, allocations: 3.906 kB / 472.4 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004103/0.3466, allocations: 188 kB / 472.6 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001699/0.3468, allocations: 197.5 kB / 472.8 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009426/0.3562, allocations: 5.299 MB / 478.1 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03212/0.3884, allocations: 21.26 MB / 499.4 MB, free: 14.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006148/0.3946, allocations: 5.614 MB / 0.4931 GB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.3957, allocations: 0.7019 MB / 0.4938 GB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.3959, allocations: 199 kB / 0.494 GB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.396, allocations: 43.5 kB / 0.4941 GB, free: 6.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 3.396e-06/0.396, allocations: 0 / 0.4941 GB, free: 6.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.002342/0.3983, allocations: 1.541 MB / 0.4956 GB, free: 5.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.3984, allocations: 60.41 kB / 0.4956 GB, free: 5.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.4004, allocations: 1.469 MB / 0.4971 GB, free: 3.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.4005, allocations: 37.7 kB / 0.4971 GB, free: 3.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.4017, allocations: 1.963 MB / 0.499 GB, free: 1.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.4019, allocations: 363 kB / 0.4994 GB, free: 1.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006065/0.4026, allocations: 479.7 kB / 0.4998 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4027, allocations: 349.9 kB / 0.5001 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1723/0.5751, allocations: 0.8444 MB / 0.501 GB, free: 87.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/0.5772, allocations: 1.984 MB / 0.5029 GB, free: 85.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002666/0.5799, allocations: 3.008 MB / 0.5058 GB, free: 83.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/0.58, allocations: 11 kB / 0.5059 GB, free: 83.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003479/0.5834, allocations: 2.868 MB / 0.5087 GB, free: 82.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.386e-05/0.5835, allocations: 23.62 kB / 0.5087 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/0.5835, allocations: 43.59 kB / 0.5087 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-05/0.5836, allocations: 55.41 kB / 0.5088 GB, free: 82.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.5852, allocations: 0.5354 MB / 0.5093 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.147e-05/0.5852, allocations: 81.52 kB / 0.5094 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.5865, allocations: 289.6 kB / 0.5096 GB, free: 82.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.5867, allocations: 123.8 kB / 0.5098 GB, free: 82.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002125/0.5888, allocations: 1.672 MB / 0.5114 GB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.5891, allocations: 132.5 kB / 0.5115 GB, free: 81.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.5909, allocations: 1.431 MB / 0.5129 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001077/0.592, allocations: 1.013 MB / 0.5139 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.592, allocations: 3.656 kB / 0.5139 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.592, allocations: 7.078 kB / 0.5139 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.6036, allocations: 13.51 MB / 0.5271 GB, free: 70.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/0.6037, allocations: 28.05 kB / 0.5271 GB, free: 70.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.6043, allocations: 211.6 kB / 0.5273 GB, free: 70.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.647e-05/0.6043, allocations: 28 kB / 0.5274 GB, free: 70.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.6044, allocations: 43.94 kB / 0.5274 GB, free: 70.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.677e-05/0.6044, allocations: 39.86 kB / 0.5275 GB, free: 70.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.6044, allocations: 27.88 kB / 0.5275 GB, free: 70.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003951/0.6084, allocations: 4.84 MB / 0.5322 GB, free: 65.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.6089, allocations: 331.1 kB / 0.5325 GB, free: 64.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.609, allocations: 47.97 kB / 0.5326 GB, free: 64.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006437/0.6096, allocations: 64.08 kB / 0.5326 GB, free: 64.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.6098, allocations: 139.3 kB / 0.5328 GB, free: 64.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.6098, allocations: 52 kB / 0.5328 GB, free: 64.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009481/0.6108, allocations: 0.9916 MB / 0.5338 GB, free: 63.37 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6108, allocations: 0 / 0.5338 GB, free: 63.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00227/0.6131, allocations: 1.013 MB / 0.5348 GB, free: 62.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * 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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002507/0.6133, allocations: 197.2 kB / 0.535 GB, free: 62.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.6154, allocations: 1.918 MB / 0.5368 GB, free: 60.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.6154, allocations: 0 / 0.5368 GB, free: 60.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006161/0.6161, allocations: 0.6218 MB / 0.5374 GB, free: 59.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.6179, allocations: 370.8 kB / 0.5378 GB, free: 59.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009654/0.6276, allocations: 9.301 MB / 0.5469 GB, free: 49.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/0.6297, allocations: 3.103 MB / 0.5499 GB, free: 46.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001763/0.6315, allocations: 0.8055 MB / 0.5507 GB, free: 45.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.6317, allocations: 115.4 kB / 0.5508 GB, free: 45.62 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6317, allocations: 0 / 0.5508 GB, free: 45.62 MB / 378.7 MB Notification: Performance of Templates: time 0.02586/0.6576, allocations: 18.03 MB / 0.5684 GB, free: 27.73 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches