Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001786/0.001786, allocations: 201.1 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008413/0.0008413, allocations: 98.94 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002138/0.0002138, allocations: 8 kB / 360.6 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar): time 0.006141/0.2006, allocations: 8.42 MB / 420.5 MB, free: 17.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00409/0.2047, allocations: 3.941 MB / 424.4 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006493/0.2053, allocations: 67.81 kB / 424.5 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008447/0.2062, allocations: 0.5794 MB / 425.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.2077, allocations: 0.8154 MB / 425.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001512/0.2093, allocations: 1.566 MB / 427.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002481/0.2118, allocations: 3.863 MB / 431.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01493/0.2267, allocations: 14.31 MB / 445.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.2289, allocations: 1.685 MB / 447.3 MB, free: 5.152 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002027/0.2309, allocations: 1.945 MB / 449.3 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000375/0.2313, allocations: 272 kB / 449.5 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.2324, allocations: 495.8 kB / 450 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005721/0.2329, allocations: 0.7394 MB / 450.7 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.2347, allocations: 2.015 MB / 452.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006547/0.2412, allocations: 8.382 MB / 461.1 MB, free: 7.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2413, allocations: 4 kB / 461.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.2413, allocations: 0 / 461.1 MB, free: 7.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001379/0.2414, allocations: 3.938 kB / 461.1 MB, free: 7.254 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.009483/0.2509, allocations: 4.347 MB / 465.5 MB, free: 2.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2509, allocations: 8.031 kB / 465.5 MB, free: 2.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007585/0.2585, allocations: 1.331 MB / 466.8 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004175/0.2627, allocations: 2.502 MB / 469.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002429/0.263, allocations: 349.3 kB / 469.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007388/0.2637, allocations: 455.8 kB / 470.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01068/0.2744, allocations: 6.078 MB / 476.2 MB, free: 8.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.508e-05/0.2745, allocations: 4 kB / 476.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004048/0.2749, allocations: 184 kB / 476.4 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001796/0.2751, allocations: 193.5 kB / 476.6 MB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008415/0.2836, allocations: 5.264 MB / 481.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/0.3093, allocations: 21.3 MB / 0.4913 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00577/0.3151, allocations: 5.6 MB / 0.4968 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009643/0.3161, allocations: 0.702 MB / 0.4975 GB, free: 5.273 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001977/0.3163, allocations: 199.1 kB / 0.4977 GB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3164, allocations: 43.56 kB / 0.4977 GB, free: 4.988 MB / 378.7 MB Notification: Performance of pre-optimization done (n=100): time 2.935e-06/0.3164, allocations: 3.938 kB / 0.4977 GB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.002126/0.3185, allocations: 1.529 MB / 0.4992 GB, free: 3.453 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.3186, allocations: 64.34 kB / 0.4993 GB, free: 3.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/0.3203, allocations: 1.457 MB / 0.5007 GB, free: 1.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.3204, allocations: 45.7 kB / 0.5008 GB, free: 1.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1628/0.4832, allocations: 1.949 MB / 0.5027 GB, free: 86.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004502/0.4837, allocations: 364 kB / 0.503 GB, free: 86.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001739/0.4839, allocations: 45.38 kB / 0.503 GB, free: 86.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002881/0.4842, allocations: 450.5 kB / 0.5035 GB, free: 85.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.4856, allocations: 0.8387 MB / 0.5043 GB, free: 85.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/0.4871, allocations: 1.973 MB / 0.5062 GB, free: 84.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.4896, allocations: 2.99 MB / 0.5091 GB, free: 81.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/0.4896, allocations: 15 kB / 0.5092 GB, free: 81.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003318/0.493, allocations: 2.86 MB / 0.512 GB, free: 80.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.493, allocations: 21.83 kB / 0.512 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.493, allocations: 39.56 kB / 0.512 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.565e-05/0.4931, allocations: 58.28 kB / 0.5121 GB, free: 80.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.4947, allocations: 0.5343 MB / 0.5126 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.167e-05/0.4948, allocations: 77.41 kB / 0.5127 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.4959, allocations: 297.2 kB / 0.5129 GB, free: 80.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.4961, allocations: 119.9 kB / 0.5131 GB, free: 80.45 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.001897/0.498, allocations: 1.672 MB / 0.5147 GB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.4982, allocations: 135.4 kB / 0.5148 GB, free: 79.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.4999, allocations: 1.417 MB / 0.5162 GB, free: 78.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001053/0.5009, allocations: 1.001 MB / 0.5172 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5009, allocations: 4.781 kB / 0.5172 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.501, allocations: 6 kB / 0.5172 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.5123, allocations: 13.51 MB / 0.5304 GB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.5123, allocations: 23.98 kB / 0.5304 GB, free: 68.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.513, allocations: 212.4 kB / 0.5306 GB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-05/0.513, allocations: 24 kB / 0.5306 GB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.513, allocations: 48 kB / 0.5307 GB, free: 67.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.5131, allocations: 35.86 kB / 0.5307 GB, free: 67.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/0.5131, allocations: 27.88 kB / 0.5307 GB, free: 67.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.5152, allocations: 2.575 MB / 0.5333 GB, free: 65.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004074/0.5156, allocations: 339 kB / 0.5336 GB, free: 64.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.5158, allocations: 55.03 kB / 0.5336 GB, free: 64.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.5164, allocations: 59.95 kB / 0.5337 GB, free: 64.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5165, allocations: 134.6 kB / 0.5338 GB, free: 64.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.5166, allocations: 59.98 kB / 0.5339 GB, free: 64.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009563/0.5176, allocations: 0.9838 MB / 0.5348 GB, free: 63.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5176, allocations: 0 / 0.5348 GB, free: 63.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002654/0.5202, allocations: 0.9308 MB / 0.5357 GB, free: 62.48 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.0002977/0.5205, allocations: 205.2 kB / 0.5359 GB, free: 62.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.5227, allocations: 1.916 MB / 0.5378 GB, free: 60.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5227, allocations: 0 / 0.5378 GB, free: 60.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006136/0.5233, allocations: 0.6131 MB / 0.5384 GB, free: 59.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004587/0.5279, allocations: 367.7 kB / 0.5388 GB, free: 59.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008964/0.5369, allocations: 8.794 MB / 0.5474 GB, free: 50.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.539, allocations: 3.079 MB / 0.5504 GB, free: 47.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001774/0.5407, allocations: 0.8093 MB / 0.5512 GB, free: 46.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.541, allocations: 112.2 kB / 0.5513 GB, free: 46.27 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.541, allocations: 0 / 0.5513 GB, free: 46.27 MB / 378.7 MB Notification: Performance of Templates: time 0.02735/0.5683, allocations: 17.48 MB / 0.5683 GB, free: 28.94 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/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