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.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008517/0.0008517, 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.18/1.18, allocations: 225.7 MB / 243.2 MB, free: 8.488 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.0007393/0.0007394, allocations: 94.66 kB / 294.4 MB, free: 9.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000224/0.000224, allocations: 11.94 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1795, allocations: 50.41 MB / 404.6 MB, free: 31.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.005289/0.1848, allocations: 7.879 MB / 412.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1877, allocations: 3.383 MB / 415.8 MB, free: 19.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003924/0.1881, allocations: 59.81 kB / 415.9 MB, free: 19.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.1888, allocations: 0.5329 MB / 416.4 MB, free: 19.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.1902, allocations: 1.174 MB / 417.6 MB, free: 17.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.1914, allocations: 1.259 MB / 418.9 MB, free: 16.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.1934, allocations: 3.455 MB / 422.3 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01028/0.2037, allocations: 12.73 MB / 435 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.2054, allocations: 1.495 MB / 436.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.207, allocations: 1.762 MB / 438.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.2073, allocations: 248 kB / 438.5 MB, free: 12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008854/0.2082, allocations: 451.8 kB / 439 MB, free: 11.55 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.2087, allocations: 0.6693 MB / 439.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.2101, allocations: 1.809 MB / 441.5 MB, free: 9.059 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00548/0.2156, allocations: 7.409 MB / 448.9 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.2156, allocations: 0 / 448.9 MB, free: 1.625 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2156, allocations: 0 / 448.9 MB, free: 1.625 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001675/0.2158, allocations: 0 / 448.9 MB, free: 1.625 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.008178/0.224, allocations: 4.002 MB / 452.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.224, allocations: 12.03 kB / 452.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006541/0.2306, allocations: 1.273 MB / 454.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/0.2337, allocations: 2.236 MB / 456.4 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.2339, allocations: 316.4 kB / 456.7 MB, free: 9.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005307/0.2345, allocations: 411.9 kB / 457.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008723/0.2432, allocations: 5.453 MB / 462.6 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.764e-05/0.2433, allocations: 4 kB / 462.6 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000334/0.2437, allocations: 168 kB / 462.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001439/0.2438, allocations: 180.6 kB / 462.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007045/0.2509, allocations: 4.788 MB / 467.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02126/0.2721, allocations: 19.38 MB / 487.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004022/0.2762, allocations: 3.922 MB / 491 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.2773, allocations: 0.8261 MB / 491.8 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.2775, allocations: 118.1 kB / 491.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.2775, allocations: 43.56 kB / 492 MB, free: 5.172 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 2.665e-06/0.2775, allocations: 0 / 492 MB, free: 5.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=106): time 0.002228/0.2798, allocations: 1.662 MB / 493.6 MB, free: 3.508 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.2798, allocations: 64.41 kB / 493.7 MB, free: 3.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.2813, allocations: 1.326 MB / 495 MB, free: 2.086 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.2814, allocations: 45.7 kB / 495.1 MB, free: 2.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008911/0.2823, allocations: 1.753 MB / 496.8 MB, free: 260 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.2826, allocations: 382.9 kB / 497.2 MB, free: 15.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.513e-05/0.2827, allocations: 40 kB / 497.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.2829, allocations: 443.1 kB / 497.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.284, allocations: 0.8631 MB / 498.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.2856, allocations: 1.859 MB / 0.4887 GB, free: 12.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002793/0.2884, allocations: 2.865 MB / 0.4915 GB, free: 8.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.366e-05/0.2884, allocations: 8 kB / 0.4915 GB, free: 8.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003568/0.292, allocations: 2.793 MB / 0.4942 GB, free: 6.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.292, allocations: 20 kB / 0.4942 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-05/0.2921, allocations: 36 kB / 0.4943 GB, free: 5.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-05/0.2921, allocations: 51.94 kB / 0.4943 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.2936, allocations: 0.5186 MB / 0.4948 GB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-05/0.2937, allocations: 67.72 kB / 0.4949 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.2948, allocations: 289.5 kB / 0.4952 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.2949, allocations: 116 kB / 0.4953 GB, free: 4.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * 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.00188/0.2968, allocations: 1.492 MB / 0.4967 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.297, allocations: 126.4 kB / 0.4968 GB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.2991, allocations: 1.544 MB / 0.4983 GB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001357/0.3005, allocations: 1.104 MB / 0.4994 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3005, allocations: 0 / 0.4994 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.3005, allocations: 3.984 kB / 0.4994 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1603/0.4608, allocations: 12.38 MB / 0.5115 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.4609, allocations: 19.47 kB / 0.5115 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.4616, allocations: 231.9 kB / 0.5118 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-05/0.4616, allocations: 32.56 kB / 0.5118 GB, free: 86.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.756e-05/0.4617, allocations: 51.33 kB / 0.5118 GB, free: 86.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.951e-05/0.4617, allocations: 40.25 kB / 0.5119 GB, free: 86.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.4617, allocations: 31.44 kB / 0.5119 GB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.464, allocations: 2.774 MB / 0.5146 GB, free: 84.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003953/0.4644, allocations: 352.4 kB / 0.5149 GB, free: 84.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.4645, allocations: 54.98 kB / 0.515 GB, free: 84.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006516/0.4652, allocations: 66.17 kB / 0.5151 GB, free: 84.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.4653, allocations: 145.4 kB / 0.5152 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/0.4654, allocations: 66.34 kB / 0.5153 GB, free: 84.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008785/0.4663, allocations: 0.8956 MB / 0.5161 GB, free: 83.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4663, allocations: 0 / 0.5161 GB, free: 83.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0018/0.4681, allocations: 0.8722 MB / 0.517 GB, free: 83.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * 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.0002535/0.4684, allocations: 218.1 kB / 0.5172 GB, free: 83.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.4702, allocations: 1.944 MB / 0.5191 GB, free: 82.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4703, allocations: 4 kB / 0.5191 GB, free: 82.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.4709, allocations: 0.6712 MB / 0.5198 GB, free: 81.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/0.4749, allocations: 335.8 kB / 0.5201 GB, free: 81.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006739/0.4817, allocations: 8.163 MB / 0.5281 GB, free: 72.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.4833, allocations: 2.805 MB / 0.5308 GB, free: 69.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001437/0.4847, allocations: 0.7617 MB / 0.5315 GB, free: 69.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.4849, allocations: 115.4 kB / 0.5316 GB, free: 68.98 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4849, allocations: 0 / 0.5316 GB, free: 68.98 MB / 378.7 MB Notification: Performance of Templates: time 0.02258/0.5075, allocations: 16.53 MB / 0.5478 GB, free: 52.57 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches