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.002133/0.002133, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 100 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.329e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3326, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.4801, allocations: 91.32 MB / 453.7 MB, free: 10.97 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.4805, allocations: 87.95 kB / 453.8 MB, free: 10.88 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5646/1.045, allocations: 73.36 MB / 0.5148 GB, free: 85.86 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.104e-06/1.045, allocations: 2.953 kB / 0.5148 GB, free: 85.86 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0003489/1.046, allocations: 88.47 kB / 0.5148 GB, free: 85.85 MB / 395.1 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.01159/1.057, allocations: 2.873 MB / 0.5176 GB, free: 84.77 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.057, allocations: 9.781 kB / 0.5177 GB, free: 84.77 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/1.06, allocations: 393.9 kB / 0.518 GB, free: 84.59 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007534/1.067, allocations: 2.173 MB / 0.5202 GB, free: 84.11 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/1.068, allocations: 103.9 kB / 0.5203 GB, free: 84.11 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/1.069, allocations: 172.8 kB / 0.5204 GB, free: 84.11 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008375/1.077, allocations: 2.947 MB / 0.5233 GB, free: 84.09 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01102/1.088, allocations: 3.633 MB / 0.5268 GB, free: 83.62 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.074e-05/1.088, allocations: 0 / 0.5268 GB, free: 83.62 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004511/1.089, allocations: 7.656 kB / 0.5269 GB, free: 83.62 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/1.089, allocations: 134.1 kB / 0.527 GB, free: 83.61 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03215/1.121, allocations: 10.41 MB / 0.5371 GB, free: 80.64 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0057/1.127, allocations: 2.538 MB / 0.5396 GB, free: 78.84 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003403/1.13, allocations: 1.335 MB / 0.5409 GB, free: 78.41 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004796/1.131, allocations: 145.4 kB / 0.5411 GB, free: 78.3 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/1.131, allocations: 43.78 kB / 0.5411 GB, free: 78.26 MB / 395.1 MB Notification: Performance of pre-optimization done (n=128): time 4.328e-06/1.131, allocations: 0 / 0.5411 GB, free: 78.26 MB / 395.1 MB Notification: Performance of matching and sorting (n=133): time 0.01211/1.143, allocations: 4.181 MB / 0.5452 GB, free: 76.34 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/1.143, allocations: 93.23 kB / 0.5453 GB, free: 76.25 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00314/1.146, allocations: 1.428 MB / 0.5467 GB, free: 75.7 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003864/1.147, allocations: 29.64 kB / 0.5467 GB, free: 75.66 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008383/1.148, allocations: 1.276 MB / 0.548 GB, free: 74.64 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005748/1.148, allocations: 441.6 kB / 0.5484 GB, free: 74.29 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/1.148, allocations: 0 / 0.5484 GB, free: 74.29 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/1.148, allocations: 375.8 kB / 0.5487 GB, free: 73.95 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/1.15, allocations: 0.7507 MB / 0.5495 GB, free: 73.67 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/1.152, allocations: 1.105 MB / 0.5505 GB, free: 72.96 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002124/1.154, allocations: 0.9539 MB / 0.5515 GB, free: 72.6 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/1.154, allocations: 3.25 kB / 0.5515 GB, free: 72.6 MB / 395.1 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005553/1.16, allocations: 2.192 MB / 0.5536 GB, free: 71.84 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.756e-05/1.16, allocations: 11.09 kB / 0.5536 GB, free: 71.84 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.683e-05/1.16, allocations: 18.06 kB / 0.5536 GB, free: 71.84 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/1.161, allocations: 353 kB / 0.554 GB, free: 71.75 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.164, allocations: 337.4 kB / 0.5543 GB, free: 71.73 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007011/1.171, allocations: 3.899 MB / 0.5581 GB, free: 69.22 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/1.174, allocations: 63.78 kB / 0.5582 GB, free: 69.21 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/1.174, allocations: 62.81 kB / 0.5582 GB, free: 69.2 MB / 395.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003783/1.174, allocations: 128 kB / 0.5584 GB, free: 69.07 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/1.175, allocations: 173.4 kB / 0.5585 GB, free: 68.98 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004904/1.18, allocations: 2.002 MB / 0.5605 GB, free: 68.21 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/1.18, allocations: 13.5 kB / 0.5605 GB, free: 68.21 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/1.18, allocations: 3.5 kB / 0.5605 GB, free: 68.21 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.68e-05/1.18, allocations: 10.17 kB / 0.5605 GB, free: 68.21 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/1.193, allocations: 4.634 MB / 0.565 GB, free: 66.35 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/1.193, allocations: 7.906 kB / 0.565 GB, free: 66.34 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001968/1.195, allocations: 235.1 kB / 0.5653 GB, free: 66.33 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/1.196, allocations: 329.4 kB / 0.5656 GB, free: 66.23 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/1.197, allocations: 21.55 kB / 0.5656 GB, free: 66.23 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006346/1.203, allocations: 3.831 MB / 0.5693 GB, free: 63.72 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.203, allocations: 0 / 0.5693 GB, free: 63.72 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006559/1.21, allocations: 3.117 MB / 0.5724 GB, free: 60.9 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/1.211, allocations: 440.5 kB / 0.5728 GB, free: 60.5 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004093/1.212, allocations: 15.56 kB / 0.5728 GB, free: 60.49 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.214, allocations: 81.05 kB / 0.5729 GB, free: 60.43 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004266/1.214, allocations: 98.25 kB / 0.573 GB, free: 60.38 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/1.214, allocations: 43.61 kB / 0.573 GB, free: 60.34 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.002255/1.217, allocations: 1.083 MB / 0.5741 GB, free: 59.38 MB / 395.1 MB Notification: Performance of sort global known variables: time 6.21e-07/1.217, allocations: 0 / 0.5741 GB, free: 59.38 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002994/1.22, allocations: 0.5106 MB / 0.5746 GB, free: 58.87 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 98 * 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%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006364/1.22, allocations: 193.3 kB / 0.5748 GB, free: 58.69 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.004777/1.225, allocations: 2.16 MB / 0.5769 GB, free: 56.71 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.225, allocations: 0 / 0.5769 GB, free: 56.71 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/1.228, allocations: 1.242 MB / 0.5781 GB, free: 55.57 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/1.232, allocations: 347.8 kB / 0.5784 GB, free: 55.3 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/1.245, allocations: 4.534 MB / 0.5828 GB, free: 51.27 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002961/1.248, allocations: 2.413 MB / 0.5852 GB, free: 49.36 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.249, allocations: 129.4 kB / 0.5853 GB, free: 49.25 MB / 395.1 MB Notification: Performance of SimCode: time 1.382e-06/1.249, allocations: 0 / 0.5853 GB, free: 49.25 MB / 395.1 MB Notification: Performance of Templates: time 0.08973/1.339, allocations: 47.13 MB / 0.6313 GB, free: 5.012 MB / 395.1 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/jenkins1/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