Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009522, allocations: 103.5 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007726/0.0007727, allocations: 35.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2061, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01932/0.2255, allocations: 28.03 MB / 427.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01234/0.2379, allocations: 7.055 MB / 434.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006227/0.2442, allocations: 251.2 kB / 434.8 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02501/0.2692, allocations: 12.46 MB / 447.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008442/0.2777, allocations: 2.401 MB / 449.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005399/0.2831, allocations: 1.714 MB / 451.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01929/0.3024, allocations: 17.71 MB / 469.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06057/0.363, allocations: 37.22 MB / 0.4944 GB, free: 6.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3819/0.745, allocations: 8.767 MB / 0.503 GB, free: 31.68 MB / 378.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0227/0.7678, allocations: 10.65 MB / 0.5134 GB, free: 30.94 MB / 378.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01099/0.7788, allocations: 2.074 MB / 0.5154 GB, free: 30.94 MB / 378.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/0.7921, allocations: 2.318 MB / 0.5177 GB, free: 30.94 MB / 378.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01316/0.8053, allocations: 4.61 MB / 0.5222 GB, free: 30.33 MB / 378.8 MB Notification: Performance of NFVerifyModel.verify: time 0.02776/0.8331, allocations: 9.924 MB / 0.5319 GB, free: 27.56 MB / 378.8 MB Notification: Performance of NFConvertDAE.convert: time 0.04758/0.8808, allocations: 38.25 MB / 0.5692 GB, free: 14.83 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.8808, allocations: 0 / 0.5692 GB, free: 14.83 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.264e-06/0.8808, allocations: 0 / 0.5692 GB, free: 14.83 MB / 394.8 MB Notification: Performance of Transformations before backend: time 0.001297/0.8821, allocations: 0 / 0.5692 GB, free: 14.83 MB / 394.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.07913/0.9613, allocations: 22.04 MB / 0.5908 GB, free: 8.879 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9614, allocations: 8.031 kB / 0.5908 GB, free: 8.871 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04295/1.004, allocations: 8.326 MB / 0.5989 GB, free: 0.6055 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02539/1.03, allocations: 11.27 MB / 0.6099 GB, free: 5.766 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001546/1.031, allocations: 1.335 MB / 0.6112 GB, free: 4.438 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006941/1.038, allocations: 1.752 MB / 0.6129 GB, free: 2.699 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.072/1.11, allocations: 28.76 MB / 0.641 GB, free: 5.895 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007475/1.111, allocations: 23.56 kB / 0.641 GB, free: 5.875 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007216/1.118, allocations: 0.7269 MB / 0.6417 GB, free: 5.16 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008011/1.119, allocations: 0.8687 MB / 0.6426 GB, free: 4.289 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04938/1.169, allocations: 24.82 MB / 0.6668 GB, free: 11.45 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.502/1.671, allocations: 88.04 MB / 0.7528 GB, free: 103.7 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02253/1.693, allocations: 35.18 MB / 0.7872 GB, free: 66.67 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007136/1.7, allocations: 5.383 MB / 0.7924 GB, free: 61.29 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004394/1.701, allocations: 204.3 kB / 0.7926 GB, free: 61.08 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.701, allocations: 95.12 kB / 0.7927 GB, free: 60.98 MB / 490.9 MB Notification: Performance of pre-optimization done (n=589): time 7.194e-06/1.701, allocations: 0 / 0.7927 GB, free: 60.98 MB / 490.9 MB Notification: Performance of matching and sorting (n=589): time 0.02875/1.73, allocations: 14.82 MB / 0.8072 GB, free: 46.05 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/1.73, allocations: 137.7 kB / 0.8073 GB, free: 45.89 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008613/1.738, allocations: 6.419 MB / 0.8136 GB, free: 39.53 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.000974/1.739, allocations: 117.7 kB / 0.8137 GB, free: 39.41 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.003639/1.743, allocations: 7.599 MB / 0.8211 GB, free: 31.77 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002151/1.745, allocations: 2.043 MB / 0.8231 GB, free: 29.74 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003125/1.748, allocations: 2.099 MB / 0.8251 GB, free: 27.63 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/1.748, allocations: 305.1 kB / 0.8254 GB, free: 27.33 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/1.754, allocations: 4.814 MB / 0.8301 GB, free: 22.51 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007268/1.761, allocations: 9.544 MB / 0.8395 GB, free: 10.72 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/1.778, allocations: 15.46 MB / 0.8546 GB, free: 8.953 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/1.778, allocations: 51.94 kB / 0.8546 GB, free: 8.902 MB / 0.495 GB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.2627/2.041, allocations: 15.55 MB / 0.8698 GB, free: 152.9 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 9.777e-05/2.041, allocations: 75.22 kB / 0.8699 GB, free: 152.9 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002778/2.042, allocations: 158.3 kB / 0.87 GB, free: 152.9 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005238/2.047, allocations: 1.668 MB / 0.8716 GB, free: 152.9 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008638/2.055, allocations: 2.348 MB / 0.8739 GB, free: 152.9 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01449/2.07, allocations: 10.83 MB / 0.8845 GB, free: 148.2 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0085/2.079, allocations: 1.351 MB / 0.8858 GB, free: 147.7 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/2.081, allocations: 0.5335 MB / 0.8864 GB, free: 147.7 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.01132/2.092, allocations: 7.145 MB / 0.8933 GB, free: 144.4 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/2.093, allocations: 0.6194 MB / 0.8939 GB, free: 144.2 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/2.107, allocations: 10.29 MB / 0.904 GB, free: 140 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009309/2.116, allocations: 7.939 MB / 0.9117 GB, free: 135.9 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/2.116, allocations: 12.88 kB / 0.9117 GB, free: 135.8 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-05/2.116, allocations: 30.66 kB / 0.9118 GB, free: 135.8 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04892/2.165, allocations: 26.23 MB / 0.9374 GB, free: 113.4 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/2.165, allocations: 12.22 kB / 0.9374 GB, free: 113.4 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003932/2.169, allocations: 1.006 MB / 0.9384 GB, free: 112.4 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004714/2.174, allocations: 1.465 MB / 0.9398 GB, free: 110.9 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007711/2.175, allocations: 128 kB / 0.9399 GB, free: 110.8 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/2.187, allocations: 10.41 MB / 0.9501 GB, free: 100.3 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/2.187, allocations: 11.94 kB / 0.9501 GB, free: 100.3 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/2.22, allocations: 24.02 MB / 0.9736 GB, free: 75.71 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/2.223, allocations: 1.452 MB / 0.975 GB, free: 74.23 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008421/2.224, allocations: 108 kB / 0.9751 GB, free: 74.12 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/2.227, allocations: 323.6 kB / 0.9754 GB, free: 73.8 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007548/2.228, allocations: 404.5 kB / 0.9758 GB, free: 73.41 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/2.228, allocations: 168 kB / 0.976 GB, free: 73.24 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.00585/2.234, allocations: 4.313 MB / 0.9802 GB, free: 68.96 MB / 0.495 GB Notification: Performance of sort global known variables: time 2.91e-07/2.234, allocations: 0 / 0.9802 GB, free: 68.96 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.0129/2.247, allocations: 4.363 MB / 0.9844 GB, free: 64.58 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.001159/2.248, allocations: 328.3 kB / 0.9847 GB, free: 64.27 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.01632/2.264, allocations: 11.51 MB / 0.996 GB, free: 52.71 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/2.264, allocations: 0 / 0.996 GB, free: 52.71 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.006802/2.271, allocations: 4.732 MB / 1.001 GB, free: 47.96 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008044/2.279, allocations: 1.481 MB / 1.002 GB, free: 46.5 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06073/2.34, allocations: 40.25 MB / 1.041 GB, free: 6.047 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2502/2.59, allocations: 11.41 MB / 1.052 GB, free: 157.9 MB / 0.5106 GB Notification: Performance of simCode: alias equations: time 0.01149/2.602, allocations: 3.773 MB / 1.056 GB, free: 157.7 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/2.604, allocations: 0.5167 MB / 1.057 GB, free: 157.6 MB / 0.5106 GB Notification: Performance of SimCode: time 1.703e-06/2.604, allocations: 0 / 1.057 GB, free: 157.6 MB / 0.5106 GB Notification: Performance of Templates: time 0.1734/2.778, allocations: 103.7 MB / 1.158 GB, free: 80.7 MB / 0.5106 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@2/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