Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 118.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001835/0.001836, allocations: 201.2 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2424, allocations: 50.55 MB / 409.3 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02761/0.27, allocations: 28.6 MB / 437.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.286, allocations: 7.204 MB / 445.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005238/0.2913, allocations: 263.2 kB / 445.3 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02596/0.3173, allocations: 13.1 MB / 458.4 MB, free: 372 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008919/0.3262, allocations: 2.535 MB / 460.9 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006795/0.3331, allocations: 2.028 MB / 463 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02058/0.3537, allocations: 18.28 MB / 481.3 MB, free: 9.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07021/0.4239, allocations: 44.44 MB / 0.5134 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02108/0.445, allocations: 9.949 MB / 0.5231 GB, free: 2.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01963/0.4647, allocations: 11.06 MB / 0.5339 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007645/0.4724, allocations: 2.922 MB / 0.5368 GB, free: 4.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.4825, allocations: 3.195 MB / 0.5399 GB, free: 1.602 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.4118/0.8943, allocations: 5.479 MB / 0.5452 GB, free: 59.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02518/0.9195, allocations: 10.82 MB / 0.5558 GB, free: 58.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04179/0.9613, allocations: 39.02 MB / 0.5939 GB, free: 38.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.9614, allocations: 0.8125 kB / 0.5939 GB, free: 38.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.9614, allocations: 0 / 0.5939 GB, free: 38.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.001297/0.9627, allocations: 0.8125 kB / 0.5939 GB, free: 38.65 MB / 462.1 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.06473/1.027, allocations: 21.94 MB / 0.6153 GB, free: 25.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/1.027, allocations: 8.438 kB / 0.6153 GB, free: 25.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04478/1.072, allocations: 8.353 MB / 0.6235 GB, free: 17.31 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/1.095, allocations: 11.62 MB / 0.6348 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00115/1.096, allocations: 1.342 MB / 0.6361 GB, free: 4.777 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007145/1.103, allocations: 1.756 MB / 0.6379 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07524/1.179, allocations: 28.71 MB / 0.6659 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007803/1.179, allocations: 19.84 kB / 0.6659 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006779/1.186, allocations: 0.7301 MB / 0.6666 GB, free: 5.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009376/1.187, allocations: 0.8415 MB / 0.6675 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05454/1.242, allocations: 24.79 MB / 0.6917 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4449/1.687, allocations: 87.27 MB / 0.7769 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03422/1.721, allocations: 35.13 MB / 0.8112 GB, free: 116.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01247/1.733, allocations: 5.442 MB / 0.8165 GB, free: 116.2 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/1.734, allocations: 285.1 kB / 0.8168 GB, free: 116 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.078e-05/1.734, allocations: 89.36 kB / 0.8169 GB, free: 116 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 6.593e-06/1.734, allocations: 0 / 0.8169 GB, free: 116 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.0313/1.765, allocations: 14.73 MB / 0.8312 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/1.766, allocations: 137.5 kB / 0.8314 GB, free: 115 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009999/1.776, allocations: 6.415 MB / 0.8376 GB, free: 113.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008936/1.776, allocations: 119.6 kB / 0.8378 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.004159/1.781, allocations: 7.61 MB / 0.8452 GB, free: 107 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002197/1.783, allocations: 2.012 MB / 0.8472 GB, free: 105.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003041/1.786, allocations: 2.085 MB / 0.8492 GB, free: 104.1 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/1.786, allocations: 307.3 kB / 0.8495 GB, free: 103.8 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006116/1.792, allocations: 4.735 MB / 0.8541 GB, free: 101.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007648/1.8, allocations: 9.466 MB / 0.8634 GB, free: 92.26 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01677/1.817, allocations: 15.31 MB / 0.8783 GB, free: 75.52 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/1.817, allocations: 48 kB / 0.8783 GB, free: 75.47 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02189/1.839, allocations: 15.37 MB / 0.8934 GB, free: 60.01 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-05/1.839, allocations: 76.09 kB / 0.8934 GB, free: 59.94 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000202/1.839, allocations: 160 kB / 0.8936 GB, free: 59.78 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004848/1.844, allocations: 1.66 MB / 0.8952 GB, free: 58.12 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007142/1.851, allocations: 2.351 MB / 0.8975 GB, free: 55.76 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.864, allocations: 11.6 MB / 0.9088 GB, free: 44.04 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008803/1.873, allocations: 1.35 MB / 0.9102 GB, free: 42.68 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001637/1.875, allocations: 0.5273 MB / 0.9107 GB, free: 42.15 MB / 0.5607 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 prepare postOptimizeDAE: time 0.01143/1.886, allocations: 7.145 MB / 0.9176 GB, free: 34.98 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.887, allocations: 0.6211 MB / 0.9183 GB, free: 34.36 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/1.901, allocations: 10.1 MB / 0.9281 GB, free: 24.14 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009046/1.91, allocations: 7.762 MB / 0.9357 GB, free: 16.3 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/1.91, allocations: 19.98 kB / 0.9357 GB, free: 16.28 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-05/1.91, allocations: 27.89 kB / 0.9357 GB, free: 16.25 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04067/1.95, allocations: 25.67 MB / 0.9608 GB, free: 6.328 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/1.951, allocations: 8 kB / 0.9608 GB, free: 6.32 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004012/1.955, allocations: 1.002 MB / 0.9618 GB, free: 5.316 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004964/1.96, allocations: 1.47 MB / 0.9632 GB, free: 3.844 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004187/1.96, allocations: 128 kB / 0.9634 GB, free: 3.719 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3006/2.261, allocations: 11.14 MB / 0.9742 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/2.261, allocations: 18 kB / 0.9742 GB, free: 181.6 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/2.278, allocations: 14.09 MB / 0.988 GB, free: 177 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/2.281, allocations: 1.438 MB / 0.9894 GB, free: 176.2 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008786/2.282, allocations: 114 kB / 0.9895 GB, free: 176.1 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002692/2.284, allocations: 326.8 kB / 0.9898 GB, free: 176 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008334/2.285, allocations: 397.3 kB / 0.9902 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002954/2.285, allocations: 166 kB / 0.9904 GB, free: 175.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.006763/2.292, allocations: 4.307 MB / 0.9946 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of sort global known variables: time 4.81e-07/2.292, allocations: 0 / 0.9946 GB, free: 174.4 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.01148/2.304, allocations: 4.035 MB / 0.9985 GB, free: 173.1 MB / 0.5763 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001094/2.305, allocations: 320.6 kB / 0.9988 GB, free: 172.9 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01459/2.319, allocations: 11.37 MB / 1.01 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/2.319, allocations: 7.406 kB / 1.01 GB, free: 168.6 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.006242/2.326, allocations: 4.642 MB / 1.014 GB, free: 166.7 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007105/2.333, allocations: 1.561 MB / 1.016 GB, free: 166.2 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04839/2.381, allocations: 29.29 MB / 1.045 GB, free: 141.4 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01675/2.398, allocations: 11.26 MB / 1.056 GB, free: 132.7 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.008964/2.407, allocations: 3.768 MB / 1.059 GB, free: 129.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001763/2.409, allocations: 0.515 MB / 1.06 GB, free: 129.1 MB / 0.5763 GB Notification: Performance of SimCode: time 1.202e-06/2.409, allocations: 0 / 1.06 GB, free: 129.1 MB / 0.5763 GB Notification: Performance of Templates: time 0.1449/2.554, allocations: 99.07 MB / 1.157 GB, free: 30.63 MB / 0.5763 GB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches