Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 180.8 kB / 16.39 MB, free: 5.766 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.316/1.316, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0007725/0.0007725, allocations: 97.53 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002269/0.0002269, allocations: 8 kB / 351.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.259, allocations: 50.4 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3763, allocations: 92.74 MB / 494.2 MB, free: 3.727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.3766, allocations: 87.95 kB / 494.3 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3869/0.7635, allocations: 74.46 MB / 0.5554 GB, free: 56.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7636, allocations: 0 / 0.5554 GB, free: 56.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002708/0.7638, allocations: 95.8 kB / 0.5555 GB, free: 56.81 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.008197/0.7721, allocations: 3.229 MB / 0.5587 GB, free: 53.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.7721, allocations: 12.03 kB / 0.5587 GB, free: 53.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.7737, allocations: 399.7 kB / 0.5591 GB, free: 53.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/0.7788, allocations: 2.182 MB / 0.5612 GB, free: 50.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.779, allocations: 221.8 kB / 0.5614 GB, free: 50.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007329/0.7797, allocations: 287.9 kB / 0.5617 GB, free: 50.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00724/0.787, allocations: 4.113 MB / 0.5657 GB, free: 46.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.893e-05/0.7871, allocations: 0 / 0.5657 GB, free: 46.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000465/0.7875, allocations: 124.3 kB / 0.5658 GB, free: 45.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.7877, allocations: 141.8 kB / 0.566 GB, free: 45.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004897/0.7926, allocations: 3.189 MB / 0.5691 GB, free: 42.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.8073, allocations: 11.01 MB / 0.5798 GB, free: 31.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.8094, allocations: 2.627 MB / 0.5824 GB, free: 28.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.8097, allocations: 146.2 kB / 0.5825 GB, free: 28.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.8097, allocations: 47.56 kB / 0.5826 GB, free: 28.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.727e-06/0.8097, allocations: 0 / 0.5826 GB, free: 28.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.00791/0.8177, allocations: 5.671 MB / 0.5881 GB, free: 22.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.8177, allocations: 90.42 kB / 0.5882 GB, free: 22.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002147/0.8199, allocations: 1.718 MB / 0.5899 GB, free: 20.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.82, allocations: 45.7 kB / 0.5899 GB, free: 20.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006104/0.8206, allocations: 1.322 MB / 0.5912 GB, free: 19.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.8209, allocations: 453.5 kB / 0.5917 GB, free: 18.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.336e-05/0.821, allocations: 24 kB / 0.5917 GB, free: 18.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8211, allocations: 373.9 kB / 0.592 GB, free: 18.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.8221, allocations: 0.8237 MB / 0.5928 GB, free: 17.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.8232, allocations: 1.169 MB / 0.594 GB, free: 16.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.8244, allocations: 1.017 MB / 0.595 GB, free: 15.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.433e-06/0.8244, allocations: 8 kB / 0.595 GB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003371/0.8278, allocations: 2.545 MB / 0.5975 GB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.8278, allocations: 12 kB / 0.5975 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.648e-05/0.8278, allocations: 12 kB / 0.5975 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009503/0.8288, allocations: 385.2 kB / 0.5979 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.8301, allocations: 335.5 kB / 0.5982 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/0.8346, allocations: 4.36 MB / 0.6024 GB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.8364, allocations: 83.98 kB / 0.6025 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.8365, allocations: 63.98 kB / 0.6026 GB, free: 7.406 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.00177/0.8383, allocations: 1.05 MB / 0.6036 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.8387, allocations: 189.8 kB / 0.6038 GB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.8417, allocations: 2.207 MB / 0.6059 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.8417, allocations: 12 kB / 0.606 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8417, allocations: 8 kB / 0.606 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.8417, allocations: 3.984 kB / 0.606 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00746/0.8492, allocations: 5.192 MB / 0.611 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/0.8492, allocations: 4 kB / 0.611 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009745/0.8502, allocations: 215.7 kB / 0.6112 GB, free: 14.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009082/0.8511, allocations: 356.6 kB / 0.6116 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.8513, allocations: 35.98 kB / 0.6116 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005636/0.8569, allocations: 4.284 MB / 0.6158 GB, free: 9.629 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8569, allocations: 4.031 kB / 0.6158 GB, free: 9.625 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005079/0.862, allocations: 3.305 MB / 0.619 GB, free: 6.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.8633, allocations: 470.8 kB / 0.6195 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.8636, allocations: 24 kB / 0.6195 GB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.8647, allocations: 107.9 kB / 0.6196 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002131/0.8649, allocations: 92.77 kB / 0.6197 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.865, allocations: 43.92 kB / 0.6197 GB, free: 5.535 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002094/0.8671, allocations: 1.331 MB / 0.621 GB, free: 4.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8671, allocations: 0 / 0.621 GB, free: 4.211 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00233/0.8695, allocations: 0.5703 MB / 0.6216 GB, free: 3.641 MB / 394.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.0005193/0.87, allocations: 218.3 kB / 0.6218 GB, free: 3.422 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003981/0.874, allocations: 2.344 MB / 0.6241 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.874, allocations: 0 / 0.6241 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002447/0.8764, allocations: 1.338 MB / 0.6254 GB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.8785, allocations: 478.4 kB / 0.6259 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.8896, allocations: 6.729 MB / 0.6324 GB, free: 8.438 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/0.892, allocations: 2.482 MB / 0.6349 GB, free: 5.926 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001783/0.8938, allocations: 483.5 kB / 0.6353 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.8942, allocations: 123.4 kB / 0.6354 GB, free: 5.328 MB / 410.7 MB Notification: Performance of SimCode: time 1.302e-06/0.8942, allocations: 0 / 0.6354 GB, free: 5.328 MB / 410.7 MB Notification: Performance of Templates: time 0.3091/1.203, allocations: 29.03 MB / 0.6638 GB, free: 90.96 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches