Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.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.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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 174.9 kB / 16.72 MB, free: 4.961 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.375/1.375, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007178/0.000718, allocations: 94.36 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.253, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.01114/0.2642, allocations: 6.745 MB / 381.8 MB, free: 40.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007813/0.272, allocations: 2.594 MB / 384.4 MB, free: 37.99 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002219/0.2743, allocations: 55.66 kB / 384.5 MB, free: 37.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002236/0.2766, allocations: 435.4 kB / 384.9 MB, free: 37.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00351/0.2801, allocations: 0.6518 MB / 385.6 MB, free: 37.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2817, allocations: 283.4 kB / 385.8 MB, free: 36.9 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006005/0.2878, allocations: 3.484 MB / 389.3 MB, free: 34.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005003/0.2928, allocations: 2.79 MB / 392.1 MB, free: 31.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003324/0.2962, allocations: 1.198 MB / 393.3 MB, free: 30.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/0.2999, allocations: 1.603 MB / 394.9 MB, free: 28.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008312/0.3007, allocations: 200 kB / 395.1 MB, free: 28.58 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.3027, allocations: 423.5 kB / 395.5 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001524/0.3043, allocations: 0.9113 MB / 396.4 MB, free: 27.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.3075, allocations: 1.561 MB / 398 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006119/0.3136, allocations: 4.964 MB / 403 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.3136, allocations: 0 / 403 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3137, allocations: 0 / 403 MB, free: 20.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001842/0.3138, allocations: 4 kB / 403 MB, free: 20.7 MB / 298.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.01007/0.3239, allocations: 3.159 MB / 406.1 MB, free: 17.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.324, allocations: 8.031 kB / 406.1 MB, free: 17.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001928/0.326, allocations: 392.7 kB / 406.5 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005185/0.3312, allocations: 1.948 MB / 408.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.3314, allocations: 225.8 kB / 408.7 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008842/0.3323, allocations: 287.9 kB / 409 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01294/0.3453, allocations: 4.163 MB / 413.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.925e-05/0.3454, allocations: 0 / 413.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006662/0.3461, allocations: 120 kB / 413.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/0.3464, allocations: 145.9 kB / 413.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.3586, allocations: 3.474 MB / 416.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03332/0.392, allocations: 11.01 MB / 427.9 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005605/0.3976, allocations: 2.643 MB / 430.5 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004823/0.4025, allocations: 1.501 MB / 432 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004308/0.403, allocations: 122.1 kB / 432.1 MB, free: 6.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.098e-05/0.4031, allocations: 51.56 kB / 432.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 9.408e-06/0.4031, allocations: 0 / 432.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.01748/0.4206, allocations: 5.298 MB / 437.5 MB, free: 1.492 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.4208, allocations: 94.41 kB / 437.6 MB, free: 1.379 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004939/0.4257, allocations: 1.898 MB / 439.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4259, allocations: 49.7 kB / 439.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/0.4269, allocations: 1.326 MB / 440.8 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/0.4274, allocations: 457.4 kB / 441.3 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.4275, allocations: 32 kB / 441.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4277, allocations: 365.9 kB / 441.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.4291, allocations: 0.8159 MB / 442.5 MB, free: 12.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.4308, allocations: 1.187 MB / 443.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.4339, allocations: 2.091 MB / 445.8 MB, free: 8.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/0.4339, allocations: 8 kB / 445.8 MB, free: 8.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004638/0.4386, allocations: 2.523 MB / 448.3 MB, free: 6.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.4386, allocations: 8 kB / 448.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.4387, allocations: 12 kB / 448.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.4406, allocations: 490.3 kB / 448.8 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.4419, allocations: 335.5 kB / 449.1 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.4473, allocations: 4.063 MB / 453.2 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.4488, allocations: 95.89 kB / 453.3 MB, free: 1.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.4491, allocations: 63.98 kB / 453.3 MB, free: 1.121 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (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.002096/0.4512, allocations: 1.052 MB / 454.4 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006374/0.4518, allocations: 189.7 kB / 454.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.4555, allocations: 2.145 MB / 456.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/0.4556, allocations: 20 kB / 456.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/0.4556, allocations: 4 kB / 456.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.4556, allocations: 7.969 kB / 456.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008749/0.4644, allocations: 5.21 MB / 462 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.4644, allocations: 0 / 462 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.4654, allocations: 227.7 kB / 462.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/0.4673, allocations: 473.1 kB / 462.7 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.4674, allocations: 31.98 kB / 462.7 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.4731, allocations: 3.975 MB / 466.7 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4731, allocations: 0 / 466.7 MB, free: 3.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/0.4782, allocations: 3.253 MB / 469.9 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.4793, allocations: 466.6 kB / 470.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002231/0.4795, allocations: 32 kB / 470.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009239/0.4805, allocations: 104 kB / 470.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.4807, allocations: 96.8 kB / 470.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-05/0.4808, allocations: 36 kB / 470.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002033/0.4829, allocations: 1.326 MB / 472 MB, free: 14.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4829, allocations: 4 kB / 472 MB, free: 14.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001721/0.4846, allocations: 0.5624 MB / 472.5 MB, free: 13.62 MB / 362.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 (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.000536/0.4851, allocations: 231.5 kB / 472.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.4886, allocations: 2.196 MB / 474.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4887, allocations: 0 / 474.9 MB, free: 11.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.4906, allocations: 1.226 MB / 476.2 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.4932, allocations: 492.6 kB / 476.7 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.5042, allocations: 6.774 MB / 483.4 MB, free: 2.629 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.5066, allocations: 2.366 MB / 485.8 MB, free: 240 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/0.5073, allocations: 143.4 kB / 485.9 MB, free: 96 kB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5073, allocations: 0 / 485.9 MB, free: 96 kB / 362.7 MB Notification: Performance of Templates: time 0.215/0.7223, allocations: 50.53 MB / 0.5239 GB, free: 80.91 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches