Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 230.3 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008202, allocations: 87.36 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.445e-05/1.447e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08683/0.08686, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2994/0.3863, allocations: 92 MB / 479.5 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.3866, allocations: 83.95 kB / 479.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1794/0.566, allocations: 73.82 MB / 0.5404 GB, free: 8.414 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.566, allocations: 0 / 0.5404 GB, free: 8.414 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000197/0.5662, allocations: 83.88 kB / 0.5405 GB, free: 8.332 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.006687/0.5729, allocations: 2.904 MB / 0.5433 GB, free: 5.367 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/0.573, allocations: 11.98 kB / 0.5433 GB, free: 5.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.5744, allocations: 395.7 kB / 0.5437 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003826/0.5782, allocations: 2.174 MB / 0.5458 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.369e-05/0.5783, allocations: 92 kB / 0.5459 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.5787, allocations: 168 kB / 0.5461 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2065/0.7852, allocations: 2.923 MB / 0.5489 GB, free: 89.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009106/0.7944, allocations: 3.607 MB / 0.5524 GB, free: 88.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-05/0.7945, allocations: 4.031 kB / 0.5525 GB, free: 88.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.7947, allocations: 2.625 kB / 0.5525 GB, free: 88.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001958/0.7949, allocations: 137.6 kB / 0.5526 GB, free: 88.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01808/0.813, allocations: 10.41 MB / 0.5628 GB, free: 87.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.8154, allocations: 2.547 MB / 0.5652 GB, free: 86.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.8176, allocations: 1.337 MB / 0.5665 GB, free: 86.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/0.8179, allocations: 141.5 kB / 0.5667 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.818, allocations: 56.2 kB / 0.5667 GB, free: 86.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 4.038e-06/0.818, allocations: 0 / 0.5667 GB, free: 86.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.008182/0.8262, allocations: 4.18 MB / 0.5708 GB, free: 85.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.8263, allocations: 91.2 kB / 0.5709 GB, free: 85.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002417/0.8287, allocations: 1.424 MB / 0.5723 GB, free: 85.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.64e-05/0.8288, allocations: 26.7 kB / 0.5723 GB, free: 85.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008105/0.8296, allocations: 1.322 MB / 0.5736 GB, free: 84.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.8299, allocations: 440.3 kB / 0.574 GB, free: 84.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.83, allocations: 2.5 kB / 0.574 GB, free: 84.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.8301, allocations: 370 kB / 0.5744 GB, free: 83.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009148/0.831, allocations: 0.7493 MB / 0.5751 GB, free: 83.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009832/0.832, allocations: 1.096 MB / 0.5762 GB, free: 83.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.8331, allocations: 0.9519 MB / 0.5771 GB, free: 83.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.8331, allocations: 7.5 kB / 0.5771 GB, free: 83.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003105/0.8362, allocations: 2.291 MB / 0.5794 GB, free: 83.42 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.8363, allocations: 9.031 kB / 0.5794 GB, free: 83.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.8363, allocations: 14.75 kB / 0.5794 GB, free: 83.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007922/0.8371, allocations: 348.5 kB / 0.5797 GB, free: 83.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.8383, allocations: 334.4 kB / 0.58 GB, free: 83.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/0.8425, allocations: 3.887 MB / 0.5838 GB, free: 81.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.844, allocations: 61.72 kB / 0.5839 GB, free: 81.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.8442, allocations: 69.03 kB / 0.584 GB, free: 81.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002616/0.8444, allocations: 134.5 kB / 0.5841 GB, free: 81.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003348/0.8448, allocations: 173.6 kB / 0.5843 GB, free: 81.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002971/0.8478, allocations: 2.002 MB / 0.5862 GB, free: 80.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.8478, allocations: 10.69 kB / 0.5862 GB, free: 80.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8478, allocations: 3.938 kB / 0.5862 GB, free: 80.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.8478, allocations: 12.7 kB / 0.5862 GB, free: 80.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007839/0.8557, allocations: 4.621 MB / 0.5907 GB, free: 78.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/0.8557, allocations: 10.48 kB / 0.5908 GB, free: 78.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000928/0.8567, allocations: 236 kB / 0.591 GB, free: 78.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007928/0.8575, allocations: 322.6 kB / 0.5913 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.8576, allocations: 17.77 kB / 0.5913 GB, free: 78.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/0.8615, allocations: 3.825 MB / 0.595 GB, free: 76.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.8615, allocations: 0 / 0.595 GB, free: 76.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.8658, allocations: 3.115 MB / 0.5981 GB, free: 74.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/0.8672, allocations: 449.1 kB / 0.5985 GB, free: 74.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.8674, allocations: 7.766 kB / 0.5985 GB, free: 74.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009666/0.8684, allocations: 84.53 kB / 0.5986 GB, free: 74.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/0.8686, allocations: 95.19 kB / 0.5987 GB, free: 74.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.8687, allocations: 43.72 kB / 0.5987 GB, free: 74.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001653/0.8704, allocations: 1.085 MB / 0.5998 GB, free: 73.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8704, allocations: 3.844 kB / 0.5998 GB, free: 73.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002285/0.8727, allocations: 0.5123 MB / 0.6003 GB, free: 73.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004429/0.8732, allocations: 194 kB / 0.6005 GB, free: 73.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002921/0.8761, allocations: 2.157 MB / 0.6026 GB, free: 72.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.8761, allocations: 0 / 0.6026 GB, free: 72.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001454/0.8776, allocations: 1.24 MB / 0.6038 GB, free: 72.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.8797, allocations: 347.6 kB / 0.6041 GB, free: 72.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008149/0.8879, allocations: 4.544 MB / 0.6086 GB, free: 70.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.8899, allocations: 2.48 MB / 0.611 GB, free: 69.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001603/0.8915, allocations: 463.2 kB / 0.6114 GB, free: 69.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/0.8919, allocations: 117.1 kB / 0.6115 GB, free: 69.45 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8919, allocations: 3.188 kB / 0.6115 GB, free: 69.45 MB / 426.7 MB Notification: Performance of Templates: time 0.03675/0.9287, allocations: 22.79 MB / 0.6338 GB, free: 65.79 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches