Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.1 MB / 223.7 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009544/0.0009545, allocations: 109.8 kB / 271.2 MB, free: 8.422 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008411/0.0008413, allocations: 39.94 kB / 327.2 MB, free: 304 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2058, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02007/0.2259, allocations: 28.98 MB / 402.8 MB, free: 20.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.2391, allocations: 7.353 MB / 410.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005982/0.2451, allocations: 207.3 kB / 410.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02099/0.2661, allocations: 12.51 MB / 422.9 MB, free: 288 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01009/0.2763, allocations: 2.746 MB / 425.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.2815, allocations: 1.766 MB / 427.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02014/0.3016, allocations: 18.79 MB / 446.2 MB, free: 8.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06036/0.362, allocations: 37.35 MB / 483.5 MB, free: 3.352 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01496/0.377, allocations: 9.053 MB / 492.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3255/0.7026, allocations: 11.11 MB / 0.4919 GB, free: 37.28 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.007156/0.7098, allocations: 2.098 MB / 0.4939 GB, free: 37.28 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009205/0.719, allocations: 2.348 MB / 0.4962 GB, free: 37.28 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007905/0.7269, allocations: 4.861 MB / 0.501 GB, free: 37.28 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02148/0.7484, allocations: 10.28 MB / 0.511 GB, free: 36.38 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03459/0.7831, allocations: 38.9 MB / 0.549 GB, free: 15.62 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.7831, allocations: 0.7812 kB / 0.549 GB, free: 15.62 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.372e-06/0.7831, allocations: 0 / 0.549 GB, free: 15.62 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.001212/0.7844, allocations: 0.8125 kB / 0.549 GB, free: 15.62 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: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.06727/0.8516, allocations: 22.97 MB / 0.5715 GB, free: 14.06 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.8517, allocations: 12.03 kB / 0.5715 GB, free: 14.05 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06124/0.913, allocations: 12.28 MB / 0.5835 GB, free: 1.867 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02568/0.9387, allocations: 10.53 MB / 0.5937 GB, free: 7.789 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001472/0.9402, allocations: 1.396 MB / 0.5951 GB, free: 6.406 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007273/0.9475, allocations: 1.829 MB / 0.5969 GB, free: 4.594 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07395/1.021, allocations: 30.9 MB / 0.6271 GB, free: 5.668 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000799/1.022, allocations: 17.77 kB / 0.6271 GB, free: 5.652 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005806/1.028, allocations: 0.7575 MB / 0.6278 GB, free: 4.91 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001046/1.029, allocations: 0.9879 MB / 0.6288 GB, free: 3.922 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05774/1.087, allocations: 27.91 MB / 0.656 GB, free: 7.996 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3185/1.406, allocations: 94.37 MB / 0.7482 GB, free: 95.36 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02726/1.433, allocations: 53.42 MB / 0.8004 GB, free: 38.2 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007509/1.44, allocations: 5.923 MB / 0.8062 GB, free: 32.28 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02376/1.464, allocations: 16.87 MB / 0.8226 GB, free: 15.12 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.464, allocations: 77.95 kB / 0.8227 GB, free: 15.04 MB / 474.8 MB Notification: Performance of pre-optimization done (n=439): time 4.849e-06/1.464, allocations: 0 / 0.8227 GB, free: 15.04 MB / 474.8 MB Notification: Performance of matching and sorting (n=439): time 0.02624/1.49, allocations: 13.43 MB / 0.8358 GB, free: 1.57 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.491, allocations: 120.5 kB / 0.8359 GB, free: 1.434 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009778/1.5, allocations: 7.489 MB / 0.8432 GB, free: 9.953 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004378/1.501, allocations: 93.7 kB / 0.8433 GB, free: 9.855 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004962/1.506, allocations: 8.506 MB / 0.8516 GB, free: 1.309 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.1632/1.669, allocations: 1.597 MB / 0.8532 GB, free: 161.7 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003631/1.673, allocations: 2.285 MB / 0.8554 GB, free: 161.6 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.748e-05/1.673, allocations: 309.8 kB / 0.8557 GB, free: 161.3 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006363/1.679, allocations: 4.784 MB / 0.8604 GB, free: 161.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008537/1.688, allocations: 10.48 MB / 0.8706 GB, free: 153.5 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/1.702, allocations: 16.15 MB / 0.8864 GB, free: 140.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002555/1.703, allocations: 57.44 kB / 0.8865 GB, free: 140.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02263/1.725, allocations: 16.16 MB / 0.9023 GB, free: 134.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/1.725, allocations: 90.12 kB / 0.9023 GB, free: 134.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000249/1.726, allocations: 198.4 kB / 0.9025 GB, free: 134.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004641/1.73, allocations: 1.699 MB / 0.9042 GB, free: 134.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006985/1.737, allocations: 2.5 MB / 0.9066 GB, free: 131.9 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/1.748, allocations: 10.78 MB / 0.9172 GB, free: 122.6 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007859/1.756, allocations: 1.556 MB / 0.9187 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.757, allocations: 0.6049 MB / 0.9193 GB, free: 120.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * 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.009764/1.767, allocations: 7.393 MB / 0.9265 GB, free: 114.3 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000948/1.768, allocations: 0.6288 MB / 0.9271 GB, free: 113.7 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/1.779, allocations: 8.26 MB / 0.9352 GB, free: 106.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007061/1.786, allocations: 6.648 MB / 0.9417 GB, free: 101 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/1.786, allocations: 12 kB / 0.9417 GB, free: 101 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.921e-05/1.786, allocations: 25.78 kB / 0.9417 GB, free: 101 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03197/1.818, allocations: 21.01 MB / 0.9622 GB, free: 81.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.818, allocations: 4 kB / 0.9622 GB, free: 81.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002708/1.82, allocations: 0.7722 MB / 0.963 GB, free: 80.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/1.825, allocations: 1.446 MB / 0.9644 GB, free: 79.43 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/1.825, allocations: 95.97 kB / 0.9645 GB, free: 79.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/1.835, allocations: 10.43 MB / 0.9746 GB, free: 68.8 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.835, allocations: 4 kB / 0.9747 GB, free: 68.79 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02355/1.859, allocations: 21.44 MB / 0.9956 GB, free: 47.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/1.861, allocations: 1.331 MB / 0.9969 GB, free: 45.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005836/1.862, allocations: 76 kB / 0.997 GB, free: 45.71 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.864, allocations: 303.6 kB / 0.9973 GB, free: 45.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000592/1.865, allocations: 304 kB / 0.9975 GB, free: 45.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.865, allocations: 116 kB / 0.9977 GB, free: 45 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005635/1.871, allocations: 4.93 MB / 1.002 GB, free: 40.09 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.1e-07/1.871, allocations: 4 kB / 1.002 GB, free: 40.09 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01026/1.881, allocations: 4.567 MB / 1.007 GB, free: 35.5 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (387): * Single equations (assignments): 378 * 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 Backend phase and start with SimCode phase: time 0.0007673/1.882, allocations: 283.6 kB / 1.007 GB, free: 35.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01294/1.895, allocations: 11.11 MB / 1.018 GB, free: 24.14 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.895, allocations: 384 / 1.018 GB, free: 24.14 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004489/1.899, allocations: 4.041 MB / 1.022 GB, free: 20.08 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005974/1.905, allocations: 1.455 MB / 1.023 GB, free: 18.65 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2013/2.107, allocations: 40.2 MB / 1.063 GB, free: 132.7 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01008/2.117, allocations: 11.72 MB / 1.074 GB, free: 130.3 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008631/2.126, allocations: 3.979 MB / 1.078 GB, free: 129.9 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/2.127, allocations: 0.5026 MB / 1.079 GB, free: 129.9 MB / 490.8 MB Notification: Performance of SimCode: time 6.71e-07/2.127, allocations: 4 kB / 1.079 GB, free: 129.9 MB / 490.8 MB Notification: Performance of Templates: time 0.1249/2.252, allocations: 98.82 MB / 1.175 GB, free: 35.3 MB / 490.8 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches