Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 103 kB / 17.59 MB, free: 5.418 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.001789/0.001789, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009687/0.0009687, allocations: 48.83 kB / 301.3 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09039/0.09138, allocations: 49.45 MB / 350.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.01045/0.1019, allocations: 9.723 MB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005634/0.1076, allocations: 2.682 MB / 363.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.1092, allocations: 79.75 kB / 363.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009271/0.1185, allocations: 4.187 MB / 367.4 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003388/0.122, allocations: 0.9159 MB / 368.3 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.1241, allocations: 0.8282 MB / 369.1 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1628/0.2869, allocations: 4.021 MB / 373.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01454/0.3015, allocations: 10.99 MB / 384.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003681/0.3052, allocations: 2.353 MB / 386.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/0.3095, allocations: 2.651 MB / 389.2 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001767/0.3113, allocations: 0.6649 MB / 389.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.3139, allocations: 0.8737 MB / 390.7 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.3151, allocations: 1.235 MB / 391.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003331/0.3184, allocations: 2.562 MB / 394.5 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.326, allocations: 8.835 MB / 403.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3261, allocations: 0 / 403.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3261, allocations: 0 / 403.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002576/0.3263, allocations: 7.984 kB / 403.3 MB, free: 11.73 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: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01398/0.3403, allocations: 5.306 MB / 408.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.3404, allocations: 11.89 kB / 408.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007445/0.3478, allocations: 1.298 MB / 410 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004606/0.3525, allocations: 2.509 MB / 412.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002657/0.3528, allocations: 345.4 kB / 412.8 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.354, allocations: 458.8 kB / 413.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/0.3663, allocations: 6.092 MB / 419.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.4e-05/0.3664, allocations: 3.188 kB / 419.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.3668, allocations: 191.9 kB / 419.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001706/0.367, allocations: 193.5 kB / 419.7 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009269/0.3763, allocations: 5.276 MB / 425 MB, free: 6.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02857/0.4049, allocations: 21 MB / 446 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006021/0.4109, allocations: 5.562 MB / 451.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.412, allocations: 0.6659 MB / 452.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.4122, allocations: 108.4 kB / 452.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.4122, allocations: 47.55 kB / 452.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=94): time 3.146e-06/0.4122, allocations: 0 / 452.4 MB, free: 9.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=94): time 0.002153/0.4144, allocations: 1.419 MB / 453.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4144, allocations: 68.41 kB / 453.9 MB, free: 8.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.4164, allocations: 1.461 MB / 455.3 MB, free: 6.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.93e-05/0.4164, allocations: 41.7 kB / 455.4 MB, free: 6.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001083/0.4175, allocations: 1.966 MB / 457.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.4178, allocations: 346.5 kB / 457.7 MB, free: 4.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005704/0.4184, allocations: 471.5 kB / 458.1 MB, free: 3.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.4185, allocations: 353.9 kB / 458.5 MB, free: 3.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.4196, allocations: 0.8162 MB / 459.3 MB, free: 2.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/0.4213, allocations: 1.945 MB / 461.2 MB, free: 176 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.4243, allocations: 2.918 MB / 464.2 MB, free: 12.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/0.4244, allocations: 19.94 kB / 464.2 MB, free: 12.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=283) (initialization): time 0.004025/0.4284, allocations: 2.787 MB / 467 MB, free: 10.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.4285, allocations: 24 kB / 467 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/0.4285, allocations: 38.06 kB / 467 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.822e-05/0.4286, allocations: 60 kB / 467.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.4303, allocations: 0.5289 MB / 467.6 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.079e-05/0.4303, allocations: 82.7 kB / 467.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4317, allocations: 293.1 kB / 468 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.4319, allocations: 127.9 kB / 468.1 MB, free: 9.207 MB / 382.1 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 (282): * Single equations (assignments): 281 * 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.002307/0.4342, allocations: 1.669 MB / 469.8 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.4344, allocations: 126.4 kB / 469.9 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/0.4365, allocations: 1.338 MB / 471.2 MB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00122/0.4377, allocations: 0.9319 MB / 472.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4377, allocations: 2.531 kB / 472.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.4377, allocations: 7.969 kB / 472.2 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.4525, allocations: 12.2 MB / 484.4 MB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.101e-05/0.4526, allocations: 19.22 kB / 484.4 MB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007202/0.4533, allocations: 211.8 kB / 484.6 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.236e-05/0.4534, allocations: 28 kB / 484.6 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.4534, allocations: 40 kB / 484.7 MB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.909e-05/0.4535, allocations: 43.19 kB / 484.7 MB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.696e-05/0.4535, allocations: 34.62 kB / 484.8 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.4561, allocations: 2.441 MB / 487.2 MB, free: 5.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/0.4566, allocations: 319.2 kB / 487.5 MB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.4568, allocations: 43.98 kB / 487.5 MB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/0.4575, allocations: 67.88 kB / 487.6 MB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.4577, allocations: 129.8 kB / 487.7 MB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.876e-05/0.4577, allocations: 55.56 kB / 487.8 MB, free: 4.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001278/0.459, allocations: 0.9877 MB / 488.8 MB, free: 3.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.459, allocations: 4 kB / 488.8 MB, free: 3.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002576/0.4616, allocations: 0.9398 MB / 489.7 MB, free: 2.879 MB / 398.1 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 (98): * Single equations (assignments): 97 * 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.0003694/0.462, allocations: 223.2 kB / 489.9 MB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002638/0.4646, allocations: 1.871 MB / 491.8 MB, free: 0.9414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.4647, allocations: 4.062 kB / 491.8 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.4654, allocations: 0.5701 MB / 492.4 MB, free: 440 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.4674, allocations: 385.4 kB / 492.8 MB, free: 68 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.4777, allocations: 6.807 MB / 499.6 MB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/0.4803, allocations: 2.995 MB / 0.4908 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/0.4807, allocations: 131.4 kB / 0.4909 GB, free: 5.848 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4807, allocations: 0 / 0.4909 GB, free: 5.848 MB / 414.1 MB Notification: Performance of Templates: time 0.205/0.6857, allocations: 38.23 MB / 0.5282 GB, free: 145.5 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches