Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001965/0.001965, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007337/0.0007338, allocations: 86.36 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.0002561, allocations: 4 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2196, allocations: 47.58 MB / 376.6 MB, free: 45.6 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.007902/0.2275, allocations: 8.398 MB / 385 MB, free: 39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005778/0.2333, allocations: 3.547 MB / 388.6 MB, free: 35.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001813/0.2352, allocations: 56.78 kB / 388.6 MB, free: 35.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2364, allocations: 0.5521 MB / 389.2 MB, free: 35.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.2394, allocations: 1.331 MB / 390.5 MB, free: 34.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.2409, allocations: 1.262 MB / 391.8 MB, free: 32.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.2438, allocations: 3.801 MB / 395.6 MB, free: 29.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.2554, allocations: 12.79 MB / 408.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.2572, allocations: 1.603 MB / 410 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.2588, allocations: 1.925 MB / 411.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003128/0.2591, allocations: 252 kB / 412.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/0.2602, allocations: 463.8 kB / 412.6 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004731/0.2607, allocations: 0.7432 MB / 413.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.2622, allocations: 1.941 MB / 415.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004328/0.2665, allocations: 7.654 MB / 422.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2665, allocations: 0 / 422.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2665, allocations: 0 / 422.9 MB, free: 0.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001109/0.2667, allocations: 3.938 kB / 422.9 MB, free: 0.8281 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.009032/0.2757, allocations: 4.23 MB / 427.1 MB, free: 12.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.2757, allocations: 11.97 kB / 427.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.29, allocations: 2.579 MB / 429.7 MB, free: 9.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.2943, allocations: 2.162 MB / 431.9 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.2947, allocations: 337 kB / 432.2 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.2959, allocations: 440 kB / 432.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01383/0.3097, allocations: 6.091 MB / 438.8 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/0.3099, allocations: 7.891 kB / 438.8 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009849/0.3109, allocations: 187.9 kB / 438.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.3111, allocations: 213.3 kB / 439.2 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/0.3218, allocations: 5.767 MB / 444.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03204/0.3539, allocations: 21.49 MB / 466.4 MB, free: 4.398 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009363/0.3633, allocations: 8.973 MB / 475.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001627/0.365, allocations: 1.016 MB / 476.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005528/0.3706, allocations: 3.682 MB / 480.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3706, allocations: 34.56 kB / 480.1 MB, free: 5.051 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.3706, allocations: 0 / 480.1 MB, free: 5.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001227/0.3719, allocations: 0.7689 MB / 480.9 MB, free: 4.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3719, allocations: 59.34 kB / 480.9 MB, free: 4.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/0.3752, allocations: 1.978 MB / 482.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.3752, allocations: 33.7 kB / 483 MB, free: 2.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.3768, allocations: 2.173 MB / 485.1 MB, free: 15.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.377, allocations: 162.2 kB / 485.3 MB, free: 15.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.3771, allocations: 52 kB / 485.3 MB, free: 15.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.3773, allocations: 455.9 kB / 485.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.3788, allocations: 0.9028 MB / 486.7 MB, free: 14.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.381, allocations: 2.283 MB / 489 MB, free: 11.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.3844, allocations: 3.129 MB / 492.1 MB, free: 7.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-05/0.3844, allocations: 16 kB / 492.1 MB, free: 7.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004689/0.3891, allocations: 3.179 MB / 495.3 MB, free: 4.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.3892, allocations: 29 kB / 495.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.301e-05/0.3893, allocations: 51.98 kB / 495.4 MB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.874e-05/0.3893, allocations: 68 kB / 495.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.3911, allocations: 0.5927 MB / 496 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.073e-05/0.3912, allocations: 99.53 kB / 496.1 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/0.393, allocations: 408.1 kB / 496.5 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.3932, allocations: 148 kB / 496.7 MB, free: 3.059 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (320): * Single equations (assignments): 316 * 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.00223/0.3955, allocations: 1.558 MB / 498.2 MB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.3957, allocations: 138.2 kB / 498.4 MB, free: 1.352 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.3967, allocations: 0.7035 MB / 499.1 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005072/0.3972, allocations: 402.9 kB / 499.5 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3973, allocations: 3.938 kB / 499.5 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3973, allocations: 3.984 kB / 499.5 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006218/0.4035, allocations: 4.081 MB / 0.4917 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4035, allocations: 4 kB / 0.4917 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.4038, allocations: 59.91 kB / 0.4918 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.4038, allocations: 4 kB / 0.4918 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.4038, allocations: 15.94 kB / 0.4918 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.4038, allocations: 15.92 kB / 0.4918 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4038, allocations: 4 kB / 0.4918 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.405, allocations: 1.026 MB / 0.4928 GB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/0.4055, allocations: 299.1 kB / 0.4931 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.4057, allocations: 19.92 kB / 0.4931 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005679/0.4063, allocations: 39.95 kB / 0.4932 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4064, allocations: 39.91 kB / 0.4932 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.4064, allocations: 12 kB / 0.4932 GB, free: 10.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001772/0.4082, allocations: 1.323 MB / 0.4945 GB, free: 9.012 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4082, allocations: 0 / 0.4945 GB, free: 9.012 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002419/0.4106, allocations: 0.9285 MB / 0.4954 GB, free: 8.078 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (29): * Single equations (assignments): 25 * 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.0002928/0.4109, allocations: 167.1 kB / 0.4956 GB, free: 7.906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0024/0.4133, allocations: 1.744 MB / 0.4973 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4133, allocations: 3.938 kB / 0.4973 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/0.4137, allocations: 236.8 kB / 0.4975 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.4159, allocations: 281.3 kB / 0.4978 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1668/0.5827, allocations: 7.78 MB / 0.5054 GB, free: 118.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002935/0.5857, allocations: 2.894 MB / 0.5082 GB, free: 117.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002036/0.5877, allocations: 0.7751 MB / 0.509 GB, free: 117.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.588, allocations: 106.2 kB / 0.5091 GB, free: 117.8 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.588, allocations: 0 / 0.5091 GB, free: 117.8 MB / 394.7 MB Notification: Performance of Templates: time 0.02733/0.6153, allocations: 16.94 MB / 0.5256 GB, free: 108.1 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/BalancingDelta/BalancingDelta.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches