Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001543/0.001543, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.719/1.719, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001048/0.001048, allocations: 100 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002728/0.0002728, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3304, allocations: 47.57 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.475, allocations: 92.07 MB / 467.9 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003803/0.4755, allocations: 87.95 kB / 468 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4515/0.927, allocations: 74 MB / 0.5293 GB, free: 84.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.9271, allocations: 0 / 0.5293 GB, free: 84.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003131/0.9274, allocations: 89.47 kB / 0.5294 GB, free: 84.36 MB / 378.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.009643/0.9371, allocations: 3.202 MB / 0.5325 GB, free: 82.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9371, allocations: 11.47 kB / 0.5325 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.9391, allocations: 390.8 kB / 0.5329 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006707/0.9458, allocations: 2.199 MB / 0.535 GB, free: 80.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.946, allocations: 221.8 kB / 0.5352 GB, free: 79.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001107/0.9472, allocations: 283.3 kB / 0.5355 GB, free: 79.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008534/0.9557, allocations: 4.134 MB / 0.5395 GB, free: 75.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/0.9558, allocations: 0 / 0.5395 GB, free: 75.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.9561, allocations: 131.8 kB / 0.5397 GB, free: 75.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.9562, allocations: 133.9 kB / 0.5398 GB, free: 74.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/0.9614, allocations: 3.224 MB / 0.5429 GB, free: 71.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01666/0.9781, allocations: 11.01 MB / 0.5537 GB, free: 60.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.9803, allocations: 2.627 MB / 0.5563 GB, free: 57.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003288/0.9807, allocations: 149.7 kB / 0.5564 GB, free: 57.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.9807, allocations: 47.56 kB / 0.5564 GB, free: 57.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.859e-06/0.9807, allocations: 0 / 0.5564 GB, free: 57.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008107/0.9888, allocations: 5.664 MB / 0.562 GB, free: 51.8 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.9889, allocations: 94.36 kB / 0.5621 GB, free: 51.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.9911, allocations: 1.71 MB / 0.5637 GB, free: 49.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/0.9912, allocations: 53.7 kB / 0.5638 GB, free: 49.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.9918, allocations: 1.321 MB / 0.5651 GB, free: 48.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.9921, allocations: 449.6 kB / 0.5655 GB, free: 48.15 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.9922, allocations: 24 kB / 0.5655 GB, free: 48.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9923, allocations: 373.9 kB / 0.5659 GB, free: 47.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/0.9933, allocations: 0.8237 MB / 0.5667 GB, free: 46.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.9944, allocations: 1.165 MB / 0.5678 GB, free: 45.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.9956, allocations: 1.017 MB / 0.5688 GB, free: 44.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.9956, allocations: 4 kB / 0.5688 GB, free: 44.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00344/0.999, allocations: 2.549 MB / 0.5713 GB, free: 42.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.9991, allocations: 20.14 kB / 0.5713 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.9991, allocations: 15.95 kB / 0.5713 GB, free: 42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009314/1, allocations: 380.5 kB / 0.5717 GB, free: 41.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001208/1.001, allocations: 323.5 kB / 0.572 GB, free: 41.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004274/1.006, allocations: 4.364 MB / 0.5763 GB, free: 36.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.007, allocations: 91.81 kB / 0.5764 GB, free: 36.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.007, allocations: 63.98 kB / 0.5764 GB, free: 36.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001743/1.009, allocations: 1.044 MB / 0.5774 GB, free: 35.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003844/1.009, allocations: 189.7 kB / 0.5776 GB, free: 35.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/1.012, allocations: 2.203 MB / 0.5798 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.012, allocations: 12 kB / 0.5798 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.012, allocations: 8 kB / 0.5798 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.012, allocations: 7.969 kB / 0.5798 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00712/1.019, allocations: 5.176 MB / 0.5849 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.02, allocations: 7.938 kB / 0.5849 GB, free: 27.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000912/1.02, allocations: 219.7 kB / 0.5851 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007962/1.021, allocations: 364.8 kB / 0.5854 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/1.021, allocations: 35.92 kB / 0.5855 GB, free: 27.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003988/1.025, allocations: 4.275 MB / 0.5896 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.025, allocations: 0 / 0.5896 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/1.03, allocations: 3.308 MB / 0.5929 GB, free: 19.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001199/1.031, allocations: 466.7 kB / 0.5933 GB, free: 19.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005081/1.031, allocations: 27.98 kB / 0.5933 GB, free: 19.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/1.033, allocations: 107.9 kB / 0.5934 GB, free: 18.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001935/1.033, allocations: 88.81 kB / 0.5935 GB, free: 18.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/1.033, allocations: 39.98 kB / 0.5936 GB, free: 18.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002309/1.035, allocations: 1.334 MB / 0.5949 GB, free: 17.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.035, allocations: 0 / 0.5949 GB, free: 17.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002301/1.038, allocations: 0.5625 MB / 0.5954 GB, free: 16.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005097/1.038, allocations: 221.6 kB / 0.5956 GB, free: 16.74 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003286/1.041, allocations: 2.341 MB / 0.5979 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.041, allocations: 0 / 0.5979 GB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/1.043, allocations: 1.334 MB / 0.5992 GB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.045, allocations: 488.9 kB / 0.5997 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/1.057, allocations: 6.719 MB / 0.6062 GB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003144/1.06, allocations: 2.474 MB / 0.6087 GB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00192/1.062, allocations: 483.5 kB / 0.6091 GB, free: 2.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006061/1.062, allocations: 123.4 kB / 0.6092 GB, free: 2.664 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/1.062, allocations: 0 / 0.6092 GB, free: 2.664 MB / 378.7 MB Notification: Performance of Templates: time 0.0608/1.123, allocations: 29.04 MB / 0.6376 GB, free: 5.625 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches