Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001164, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.8 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001439/0.001439, allocations: 109.2 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 55.91 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.219, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00679/0.2258, allocations: 7.727 MB / 414.8 MB, free: 20.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003907/0.2297, allocations: 2.673 MB / 417.5 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.2309, allocations: 67.62 kB / 417.5 MB, free: 17.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.2323, allocations: 482.8 kB / 418 MB, free: 16.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.234, allocations: 0.6802 MB / 418.7 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.2347, allocations: 371.6 kB / 419 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002161/0.2369, allocations: 3.717 MB / 422.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/0.2392, allocations: 2.959 MB / 425.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.2415, allocations: 1.441 MB / 427.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.2431, allocations: 1.942 MB / 429.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003769/0.2435, allocations: 292 kB / 429.4 MB, free: 5.355 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000854/0.2444, allocations: 0.5268 MB / 429.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006614/0.2451, allocations: 1.063 MB / 431 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001259/0.2463, allocations: 1.773 MB / 432.7 MB, free: 1.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004161/0.2505, allocations: 5.927 MB / 438.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2505, allocations: 0 / 438.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2505, allocations: 0 / 438.7 MB, free: 12.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.2506, allocations: 0 / 438.7 MB, free: 12.04 MB / 314.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.00682/0.2575, allocations: 3.798 MB / 442.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.2575, allocations: 12.03 kB / 442.5 MB, free: 8.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.2587, allocations: 432.5 kB / 442.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/0.2625, allocations: 2.084 MB / 445 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.2626, allocations: 221.8 kB / 445.2 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003957/0.263, allocations: 287.9 kB / 445.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00727/0.2703, allocations: 4.187 MB / 449.7 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.386e-05/0.2704, allocations: 3.938 kB / 449.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003019/0.2707, allocations: 124 kB / 449.8 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001782/0.2709, allocations: 141.9 kB / 449.9 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006195/0.2771, allocations: 3.482 MB / 453.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01728/0.2944, allocations: 10.91 MB / 464.3 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.2971, allocations: 2.654 MB / 467 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002227/0.2993, allocations: 1.477 MB / 468.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002334/0.2996, allocations: 126.1 kB / 468.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.2996, allocations: 43.56 kB / 468.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 3.486e-06/0.2996, allocations: 4 kB / 468.6 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.008262/0.3079, allocations: 5.168 MB / 473.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.308, allocations: 90.42 kB / 473.9 MB, free: 8.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002426/0.3104, allocations: 1.913 MB / 475.8 MB, free: 6.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.254e-05/0.3105, allocations: 45.7 kB / 475.8 MB, free: 6.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008307/0.3113, allocations: 1.318 MB / 477.2 MB, free: 4.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.3117, allocations: 461.4 kB / 477.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004138/0.3121, allocations: 267.4 kB / 477.9 MB, free: 4.086 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.3122, allocations: 309.1 kB / 478.2 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.3134, allocations: 0.8159 MB / 479 MB, free: 2.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001385/0.3148, allocations: 1.175 MB / 480.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002649/0.3174, allocations: 2.082 MB / 482.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3174, allocations: 4 kB / 482.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004093/0.3215, allocations: 2.534 MB / 484.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.3216, allocations: 12.19 kB / 484.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.3216, allocations: 12 kB / 484.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.3234, allocations: 478.9 kB / 485.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/0.3247, allocations: 335.5 kB / 485.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.3296, allocations: 4.05 MB / 489.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.3309, allocations: 87.98 kB / 489.7 MB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.3311, allocations: 56 kB / 489.8 MB, free: 7.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (158): * Single equations (assignments): 153 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00156/0.3326, allocations: 1.05 MB / 490.8 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004047/0.3331, allocations: 197.7 kB / 491 MB, free: 6.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/0.3365, allocations: 2.152 MB / 493.2 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.3365, allocations: 19.98 kB / 493.2 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3365, allocations: 4 kB / 493.2 MB, free: 4.277 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3365, allocations: 7.922 kB / 493.2 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008593/0.3451, allocations: 5.179 MB / 498.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.3452, allocations: 224 / 498.4 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/0.3462, allocations: 235.7 kB / 498.6 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.3479, allocations: 460.7 kB / 499.1 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-05/0.348, allocations: 35.97 kB / 499.1 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004609/0.3526, allocations: 3.953 MB / 0.4913 GB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3526, allocations: 7.969 kB / 0.4913 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1898/0.5425, allocations: 15.16 MB / 0.5061 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008039/0.5433, allocations: 456.6 kB / 0.5065 GB, free: 86.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.5435, allocations: 27.3 kB / 0.5065 GB, free: 86.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009664/0.5445, allocations: 99.42 kB / 0.5066 GB, free: 86.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.5447, allocations: 93.81 kB / 0.5067 GB, free: 86.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.5449, allocations: 46.59 kB / 0.5068 GB, free: 86.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001508/0.5464, allocations: 1.34 MB / 0.5081 GB, free: 86.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5464, allocations: 0 / 0.5081 GB, free: 86.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001895/0.5483, allocations: 0.7298 MB / 0.5088 GB, free: 86.29 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * 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 (104): * Single equations (assignments): 99 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005664/0.5489, allocations: 218.6 kB / 0.509 GB, free: 86.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.552, allocations: 2.184 MB / 0.5111 GB, free: 85.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.552, allocations: 3.375 kB / 0.5111 GB, free: 85.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.5535, allocations: 1.21 MB / 0.5123 GB, free: 84.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.5554, allocations: 496.9 kB / 0.5128 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008665/0.5641, allocations: 8.181 MB / 0.5208 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/0.5657, allocations: 2.478 MB / 0.5232 GB, free: 78.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00137/0.5671, allocations: 0.4885 MB / 0.5237 GB, free: 77.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003772/0.5675, allocations: 135 kB / 0.5238 GB, free: 77.53 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5675, allocations: 0 / 0.5238 GB, free: 77.53 MB / 378.7 MB Notification: Performance of Templates: time 0.03978/0.6073, allocations: 32.52 MB / 0.5556 GB, free: 45.27 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches