Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008707/0.000871, allocations: 187.9 kB / 16.72 MB, free: 4.84 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.194/1.194, allocations: 225.7 MB / 243.2 MB, free: 8.445 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.00073/0.0007298, allocations: 96.83 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002249/0.0002252, allocations: 4 kB / 354.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1715, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01583/0.1874, allocations: 24.92 MB / 429.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009982/0.1974, allocations: 8.233 MB / 437.7 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003447/0.2008, allocations: 235.3 kB / 438 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004129/0.205, allocations: 1.964 MB / 439.9 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.2116, allocations: 2.907 MB / 442.8 MB, free: 8.512 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.2154, allocations: 2.155 MB / 445 MB, free: 6.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01585/0.2312, allocations: 17.44 MB / 462.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.4001/0.6313, allocations: 54.22 MB / 0.5045 GB, free: 34.98 MB / 378.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0137/0.6451, allocations: 7.014 MB / 0.5114 GB, free: 34.14 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01594/0.661, allocations: 8.169 MB / 0.5194 GB, free: 32.37 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.00443/0.6655, allocations: 1.141 MB / 0.5205 GB, free: 32.37 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005006/0.6705, allocations: 1.384 MB / 0.5218 GB, free: 32.37 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003121/0.6737, allocations: 3.27 MB / 0.525 GB, free: 31.76 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.00843/0.6821, allocations: 8.389 MB / 0.5332 GB, free: 29.29 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02185/0.704, allocations: 36.65 MB / 0.569 GB, free: 5.699 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.704, allocations: 0 / 0.569 GB, free: 5.699 MB / 378.8 MB Notification: Performance of FrontEnd: time 2.574e-06/0.704, allocations: 3.984 kB / 0.569 GB, free: 5.695 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0008286/0.7049, allocations: 0 / 0.569 GB, free: 5.695 MB / 378.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.0427/0.7476, allocations: 18.08 MB / 0.5867 GB, free: 5.562 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.7476, allocations: 8.031 kB / 0.5867 GB, free: 5.555 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03939/0.787, allocations: 8.351 MB / 0.5948 GB, free: 13.71 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01917/0.8062, allocations: 11.3 MB / 0.6059 GB, free: 6.762 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001155/0.8074, allocations: 1.331 MB / 0.6072 GB, free: 5.438 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005713/0.8131, allocations: 1.744 MB / 0.6089 GB, free: 3.703 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05945/0.8726, allocations: 28.63 MB / 0.6368 GB, free: 7.039 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005754/0.8732, allocations: 19.89 kB / 0.6368 GB, free: 7.02 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004437/0.8777, allocations: 0.7277 MB / 0.6376 GB, free: 6.305 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00088/0.8786, allocations: 0.8648 MB / 0.6384 GB, free: 5.438 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04755/0.9261, allocations: 24.68 MB / 0.6625 GB, free: 12.74 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4162/1.342, allocations: 88.26 MB / 0.7487 GB, free: 80.92 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/1.361, allocations: 35.14 MB / 0.783 GB, free: 42.5 MB / 474.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006688/1.368, allocations: 5.348 MB / 0.7882 GB, free: 37.13 MB / 474.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003551/1.368, allocations: 207.7 kB / 0.7884 GB, free: 36.93 MB / 474.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.368, allocations: 99.06 kB / 0.7885 GB, free: 36.82 MB / 474.9 MB Notification: Performance of pre-optimization done (n=589): time 6.963e-06/1.368, allocations: 0 / 0.7885 GB, free: 36.82 MB / 474.9 MB Notification: Performance of matching and sorting (n=589): time 0.02651/1.395, allocations: 14.8 MB / 0.803 GB, free: 21.91 MB / 474.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/1.395, allocations: 141.6 kB / 0.8031 GB, free: 21.75 MB / 474.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008572/1.403, allocations: 6.368 MB / 0.8093 GB, free: 15.43 MB / 474.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0006425/1.404, allocations: 121.6 kB / 0.8094 GB, free: 15.3 MB / 474.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002803/1.407, allocations: 7.596 MB / 0.8169 GB, free: 7.668 MB / 474.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.408, allocations: 2.055 MB / 0.8189 GB, free: 5.629 MB / 474.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000404/1.409, allocations: 207.9 kB / 0.8191 GB, free: 5.426 MB / 474.9 MB Notification: Performance of setup shared object (initialization): time 0.0003659/1.409, allocations: 0.744 MB / 0.8198 GB, free: 4.676 MB / 474.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005352/1.415, allocations: 4.771 MB / 0.8244 GB, free: 15.9 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009003/1.424, allocations: 9.508 MB / 0.8337 GB, free: 4.145 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01729/1.441, allocations: 15.4 MB / 0.8488 GB, free: 2.426 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.441, allocations: 44 kB / 0.8488 GB, free: 2.383 MB / 0.495 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.2137/1.655, allocations: 15.45 MB / 0.8639 GB, free: 152.9 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/1.655, allocations: 78.62 kB / 0.864 GB, free: 152.9 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002064/1.655, allocations: 161 kB / 0.8641 GB, free: 152.9 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005078/1.66, allocations: 1.657 MB / 0.8658 GB, free: 152.9 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007053/1.667, allocations: 2.345 MB / 0.868 GB, free: 152.7 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.679, allocations: 10.84 MB / 0.8786 GB, free: 148 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006498/1.686, allocations: 1.357 MB / 0.88 GB, free: 147.2 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.687, allocations: 0.5314 MB / 0.8805 GB, free: 147.2 MB / 0.495 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1249): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009625/1.697, allocations: 7.146 MB / 0.8875 GB, free: 143.8 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009131/1.697, allocations: 0.6171 MB / 0.8881 GB, free: 143.5 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/1.71, allocations: 10.25 MB / 0.8981 GB, free: 137 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008848/1.719, allocations: 7.893 MB / 0.9058 GB, free: 130.1 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.647e-05/1.719, allocations: 12 kB / 0.9058 GB, free: 130.1 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.835e-05/1.719, allocations: 30.52 kB / 0.9058 GB, free: 130.1 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03542/1.754, allocations: 26.21 MB / 0.9314 GB, free: 107.6 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/1.754, allocations: 11.94 kB / 0.9314 GB, free: 107.6 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003518/1.758, allocations: 1.006 MB / 0.9324 GB, free: 106.6 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004664/1.763, allocations: 1.469 MB / 0.9338 GB, free: 105.1 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004089/1.763, allocations: 128 kB / 0.934 GB, free: 105 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/1.774, allocations: 10.41 MB / 0.9441 GB, free: 94.43 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.774, allocations: 11.94 kB / 0.9441 GB, free: 94.41 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.789, allocations: 14.32 MB / 0.9581 GB, free: 79.75 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/1.791, allocations: 1.456 MB / 0.9595 GB, free: 78.26 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006832/1.792, allocations: 108 kB / 0.9596 GB, free: 78.16 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002427/1.795, allocations: 331.7 kB / 0.96 GB, free: 77.83 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/1.795, allocations: 404.3 kB / 0.9603 GB, free: 77.44 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002938/1.796, allocations: 172 kB / 0.9605 GB, free: 77.27 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.005422/1.801, allocations: 4.258 MB / 0.9647 GB, free: 73.04 MB / 0.495 GB Notification: Performance of sort global known variables: time 1.5e-07/1.801, allocations: 0 / 0.9647 GB, free: 73.04 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.008821/1.81, allocations: 4.038 MB / 0.9686 GB, free: 68.99 MB / 0.495 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.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 (534): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000889/1.811, allocations: 346.8 kB / 0.9689 GB, free: 68.66 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.824, allocations: 11.45 MB / 0.9801 GB, free: 57.17 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/1.824, allocations: 4.5 kB / 0.9801 GB, free: 57.17 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.005469/1.83, allocations: 4.712 MB / 0.9847 GB, free: 52.43 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01079/1.841, allocations: 1.477 MB / 0.9862 GB, free: 50.96 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04169/1.882, allocations: 36.86 MB / 1.022 GB, free: 13.92 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01406/1.897, allocations: 11.26 MB / 1.033 GB, free: 2.613 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.1866/2.083, allocations: 3.774 MB / 1.037 GB, free: 136.1 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/2.086, allocations: 0.5101 MB / 1.037 GB, free: 136.1 MB / 0.495 GB Notification: Performance of SimCode: time 8.02e-07/2.086, allocations: 1.312 kB / 1.037 GB, free: 136.1 MB / 0.495 GB Notification: Performance of Templates: time 0.1459/2.232, allocations: 99.38 MB / 1.134 GB, free: 69.62 MB / 0.495 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches