Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008016/0.0008017, allocations: 183.7 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 225.7 MB / 243.2 MB, free: 8.535 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007229/0.000723, allocations: 98.38 kB / 294.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002156/0.0002156, allocations: 4 kB / 354.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1764, allocations: 50.42 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.005815/0.1823, allocations: 8.408 MB / 413 MB, free: 22.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003514/0.1858, allocations: 3.498 MB / 416.5 MB, free: 19.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005158/0.1864, allocations: 71.75 kB / 416.6 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007966/0.1872, allocations: 0.5833 MB / 417.1 MB, free: 18.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.1888, allocations: 1.178 MB / 418.3 MB, free: 17.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.1901, allocations: 1.294 MB / 419.6 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002348/0.1925, allocations: 3.847 MB / 423.5 MB, free: 12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/0.2051, allocations: 14.32 MB / 437.8 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.2073, allocations: 1.681 MB / 439.4 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.2092, allocations: 1.945 MB / 441.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003465/0.2096, allocations: 272 kB / 441.7 MB, free: 8.855 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/0.2105, allocations: 479.8 kB / 442.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006755/0.2112, allocations: 0.7355 MB / 442.9 MB, free: 7.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.213, allocations: 2.015 MB / 444.9 MB, free: 5.617 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006488/0.2195, allocations: 8.359 MB / 453.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2195, allocations: 0 / 453.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2196, allocations: 4 kB / 453.2 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001355/0.2197, allocations: 0 / 453.2 MB, free: 13.23 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.00902/0.2287, allocations: 4.347 MB / 457.6 MB, free: 8.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2288, allocations: 8.031 kB / 457.6 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006726/0.2355, allocations: 1.303 MB / 458.9 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.239, allocations: 2.506 MB / 461.4 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002164/0.2392, allocations: 353.3 kB / 461.8 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/0.2398, allocations: 451.9 kB / 462.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009406/0.2492, allocations: 6.074 MB / 468.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.607e-05/0.2493, allocations: 4 kB / 468.3 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/0.2497, allocations: 191.9 kB / 468.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001564/0.2499, allocations: 201.5 kB / 468.7 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007831/0.2577, allocations: 5.26 MB / 473.9 MB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02313/0.2808, allocations: 21.06 MB / 495 MB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005335/0.2862, allocations: 5.608 MB / 0.4888 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/0.2871, allocations: 0.7059 MB / 0.4895 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.2873, allocations: 114 kB / 0.4896 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.2873, allocations: 39.56 kB / 0.4897 GB, free: 11.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.935e-06/0.2873, allocations: 0 / 0.4897 GB, free: 11.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.001989/0.2893, allocations: 1.537 MB / 0.4912 GB, free: 9.828 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.2893, allocations: 64.34 kB / 0.4912 GB, free: 9.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001603/0.291, allocations: 1.45 MB / 0.4927 GB, free: 8.289 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.291, allocations: 37.7 kB / 0.4927 GB, free: 8.246 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009618/0.292, allocations: 1.963 MB / 0.4946 GB, free: 6.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.2922, allocations: 366.9 kB / 0.495 GB, free: 5.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.2923, allocations: 48 kB / 0.495 GB, free: 5.844 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.2925, allocations: 451.3 kB / 0.4954 GB, free: 5.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.2936, allocations: 0.8359 MB / 0.4963 GB, free: 4.555 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001634/0.2952, allocations: 1.968 MB / 0.4982 GB, free: 2.035 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1474/0.4427, allocations: 2.987 MB / 0.5011 GB, free: 89.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.042e-05/0.4427, allocations: 10.94 kB / 0.5011 GB, free: 89.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003466/0.4462, allocations: 2.863 MB / 0.5039 GB, free: 88.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.4462, allocations: 19.62 kB / 0.5039 GB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/0.4463, allocations: 39.38 kB / 0.504 GB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/0.4463, allocations: 54.81 kB / 0.504 GB, free: 88.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.4477, allocations: 0.53 MB / 0.5045 GB, free: 88.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.693e-05/0.4478, allocations: 79.69 kB / 0.5046 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009888/0.4488, allocations: 294.4 kB / 0.5049 GB, free: 88.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.4489, allocations: 127.4 kB / 0.505 GB, free: 88.12 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.001971/0.4509, allocations: 1.672 MB / 0.5066 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4511, allocations: 139.3 kB / 0.5068 GB, free: 87.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001967/0.453, allocations: 1.41 MB / 0.5081 GB, free: 86.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0009847/0.454, allocations: 1.006 MB / 0.5091 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.454, allocations: 3.5 kB / 0.5091 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.4541, allocations: 7.219 kB / 0.5091 GB, free: 86.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/0.4643, allocations: 12.23 MB / 0.5211 GB, free: 79.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/0.4643, allocations: 17.53 kB / 0.5211 GB, free: 79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.4649, allocations: 211.6 kB / 0.5213 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.4649, allocations: 28 kB / 0.5213 GB, free: 78.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.465, allocations: 51.92 kB / 0.5214 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.715e-05/0.465, allocations: 39.86 kB / 0.5214 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-05/0.465, allocations: 31.12 kB / 0.5214 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.467, allocations: 2.569 MB / 0.524 GB, free: 75.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.4674, allocations: 337.3 kB / 0.5243 GB, free: 75.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4675, allocations: 47.98 kB / 0.5243 GB, free: 75.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005964/0.4681, allocations: 59.95 kB / 0.5244 GB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.4683, allocations: 139.4 kB / 0.5245 GB, free: 75.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.565e-05/0.4683, allocations: 56 kB / 0.5246 GB, free: 75.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000899/0.4692, allocations: 0.976 MB / 0.5255 GB, free: 74.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4692, allocations: 4 kB / 0.5255 GB, free: 74.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00195/0.4712, allocations: 0.9397 MB / 0.5264 GB, free: 73.22 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.0002502/0.4714, allocations: 214.8 kB / 0.5266 GB, free: 73.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.4733, allocations: 1.904 MB / 0.5285 GB, free: 71.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4733, allocations: 4 kB / 0.5285 GB, free: 71.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005654/0.4739, allocations: 0.6102 MB / 0.5291 GB, free: 70.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004348/0.4782, allocations: 378 kB / 0.5295 GB, free: 70.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008306/0.4865, allocations: 8.794 MB / 0.5381 GB, free: 61.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.4884, allocations: 3.075 MB / 0.5411 GB, free: 57.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001632/0.49, allocations: 0.8093 MB / 0.5418 GB, free: 57.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4903, allocations: 115.4 kB / 0.542 GB, free: 57.02 MB / 378.7 MB Notification: Performance of SimCode: time 6.11e-07/0.4903, allocations: 0 / 0.542 GB, free: 57.02 MB / 378.7 MB Notification: Performance of Templates: time 0.041/0.5313, allocations: 17.58 MB / 0.5591 GB, free: 39.59 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingStar/BalancingStar.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches