Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009943/0.0009947, allocations: 197.9 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007674/0.0007675, allocations: 93.5 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002189/0.0002189, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1924, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.005797/0.1983, allocations: 7.895 MB / 419.9 MB, free: 17.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00392/0.2022, allocations: 3.831 MB / 423.8 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005803/0.2028, allocations: 63.81 kB / 423.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007878/0.2036, allocations: 0.5289 MB / 424.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.205, allocations: 0.796 MB / 425.2 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.2065, allocations: 1.543 MB / 426.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.2086, allocations: 3.458 MB / 430.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.221, allocations: 12.73 MB / 442.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/0.2229, allocations: 1.499 MB / 444.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.2249, allocations: 1.762 MB / 446.2 MB, free: 6.391 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003366/0.2252, allocations: 240 kB / 446.4 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.2263, allocations: 471.7 kB / 446.9 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000535/0.2268, allocations: 0.6693 MB / 447.5 MB, free: 5.023 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001643/0.2285, allocations: 1.813 MB / 449.3 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.2344, allocations: 7.429 MB / 456.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2344, allocations: 3.938 kB / 456.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2344, allocations: 0 / 456.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001188/0.2345, allocations: 0 / 456.8 MB, free: 11.73 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: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.00901/0.2435, allocations: 4.01 MB / 460.8 MB, free: 7.656 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2436, allocations: 8.031 kB / 460.8 MB, free: 7.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007416/0.251, allocations: 1.292 MB / 462.1 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003793/0.2548, allocations: 2.233 MB / 464.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002129/0.2551, allocations: 312.4 kB / 464.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007134/0.2558, allocations: 423.9 kB / 465 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009022/0.2648, allocations: 5.457 MB / 470.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.966e-05/0.2649, allocations: 4 kB / 470.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003512/0.2653, allocations: 172 kB / 470.7 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001471/0.2654, allocations: 176.6 kB / 470.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007486/0.2729, allocations: 4.788 MB / 475.6 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02406/0.297, allocations: 19.6 MB / 495.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004497/0.3015, allocations: 3.922 MB / 499.1 MB, free: 0 / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.3028, allocations: 0.8316 MB / 500 MB, free: 15.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.303, allocations: 199.2 kB / 0.4885 GB, free: 14.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.303, allocations: 43.56 kB / 0.4885 GB, free: 14.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=106): time 2.515e-06/0.303, allocations: 0 / 0.4885 GB, free: 14.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.00229/0.3053, allocations: 1.659 MB / 0.4901 GB, free: 13.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3053, allocations: 72.34 kB / 0.4902 GB, free: 13.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.3069, allocations: 1.322 MB / 0.4915 GB, free: 11.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.307, allocations: 49.64 kB / 0.4915 GB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009216/0.3079, allocations: 1.761 MB / 0.4932 GB, free: 9.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.3082, allocations: 382.7 kB / 0.4936 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.367e-05/0.3083, allocations: 40 kB / 0.4936 GB, free: 9.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3085, allocations: 443.1 kB / 0.4941 GB, free: 9.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.3096, allocations: 0.8631 MB / 0.4949 GB, free: 8.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.3114, allocations: 1.855 MB / 0.4967 GB, free: 5.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.3143, allocations: 2.857 MB / 0.4995 GB, free: 2.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.3143, allocations: 16 kB / 0.4995 GB, free: 2.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.1709/0.4852, allocations: 2.791 MB / 0.5023 GB, free: 84.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.4853, allocations: 19.25 kB / 0.5023 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.044e-05/0.4854, allocations: 34.7 kB / 0.5023 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.659e-05/0.4855, allocations: 47.12 kB / 0.5023 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/0.4876, allocations: 0.5195 MB / 0.5029 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001103/0.4877, allocations: 69.25 kB / 0.5029 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4894, allocations: 289.4 kB / 0.5032 GB, free: 84.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/0.4896, allocations: 117.6 kB / 0.5033 GB, free: 84.41 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.002372/0.492, allocations: 1.493 MB / 0.5048 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.4922, allocations: 123.3 kB / 0.5049 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.4945, allocations: 1.54 MB / 0.5064 GB, free: 83.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001273/0.4957, allocations: 1.107 MB / 0.5075 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4958, allocations: 0 / 0.5075 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.4958, allocations: 7.312 kB / 0.5075 GB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/0.5096, allocations: 13.82 MB / 0.521 GB, free: 75.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/0.5097, allocations: 26.16 kB / 0.521 GB, free: 75.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/0.5105, allocations: 230.8 kB / 0.5212 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.17e-05/0.5105, allocations: 31.47 kB / 0.5213 GB, free: 75.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.909e-05/0.5106, allocations: 47.28 kB / 0.5213 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.249e-05/0.5106, allocations: 44.11 kB / 0.5213 GB, free: 75.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-05/0.5106, allocations: 31.34 kB / 0.5214 GB, free: 75.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.5131, allocations: 2.782 MB / 0.5241 GB, free: 73.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004705/0.5136, allocations: 342.7 kB / 0.5244 GB, free: 73.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5137, allocations: 55.78 kB / 0.5245 GB, free: 73.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006785/0.5144, allocations: 63.61 kB / 0.5245 GB, free: 73.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5146, allocations: 147.4 kB / 0.5247 GB, free: 73.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.5147, allocations: 68.14 kB / 0.5247 GB, free: 73.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009545/0.5156, allocations: 0.8957 MB / 0.5256 GB, free: 72.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5156, allocations: 0 / 0.5256 GB, free: 72.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002336/0.518, allocations: 0.8715 MB / 0.5265 GB, free: 71.66 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.0003049/0.5183, allocations: 213.3 kB / 0.5267 GB, free: 71.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002275/0.5206, allocations: 1.942 MB / 0.5286 GB, free: 69.51 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5206, allocations: 5 kB / 0.5286 GB, free: 69.51 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006827/0.5213, allocations: 0.6711 MB / 0.5292 GB, free: 68.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/0.5256, allocations: 344.5 kB / 0.5295 GB, free: 68.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008722/0.5343, allocations: 8.158 MB / 0.5375 GB, free: 60.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00182/0.5362, allocations: 2.809 MB / 0.5403 GB, free: 57.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001733/0.5379, allocations: 0.7578 MB / 0.541 GB, free: 56.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5382, allocations: 115.4 kB / 0.5411 GB, free: 56.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.933e-06/0.5382, allocations: 0 / 0.5411 GB, free: 56.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02442/0.5626, allocations: 16.44 MB / 0.5572 GB, free: 39.99 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches