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.001634/0.001634, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 225.6 MB / 234.8 MB, free: 3.227 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008141/0.0008142, allocations: 95.89 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.377e-05/1.379e-05, allocations: 4 kB / 343.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0885/0.08853, allocations: 51.47 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3222/0.4108, allocations: 92.81 MB / 488 MB, free: 440 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.4111, allocations: 85.7 kB / 488.1 MB, free: 396 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1825/0.5936, allocations: 73.79 MB / 0.5487 GB, free: 11.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5937, allocations: 0 / 0.5487 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002982/0.594, allocations: 87.88 kB / 0.5488 GB, free: 11.38 MB / 426.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.007363/0.6014, allocations: 2.908 MB / 0.5516 GB, free: 8.414 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.6014, allocations: 12.03 kB / 0.5516 GB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001906/0.6033, allocations: 435.7 kB / 0.552 GB, free: 7.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/0.6078, allocations: 2.17 MB / 0.5542 GB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.6079, allocations: 99.98 kB / 0.5542 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/0.6084, allocations: 164 kB / 0.5544 GB, free: 5.488 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004568/0.613, allocations: 2.921 MB / 0.5573 GB, free: 2.562 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005381/0.6184, allocations: 3.611 MB / 0.5608 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/0.6185, allocations: 0 / 0.5608 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.6187, allocations: 4 kB / 0.5608 GB, free: 14.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001238/0.6188, allocations: 141.8 kB / 0.5609 GB, free: 14.65 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01471/0.6335, allocations: 10.43 MB / 0.5711 GB, free: 4.055 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/0.6358, allocations: 2.529 MB / 0.5736 GB, free: 1.309 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2231/0.8589, allocations: 1.338 MB / 0.5749 GB, free: 75.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004895/0.8595, allocations: 138.7 kB / 0.575 GB, free: 75.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.8595, allocations: 50.48 kB / 0.5751 GB, free: 75.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 4.849e-06/0.8595, allocations: 2.672 kB / 0.5751 GB, free: 75.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.008064/0.8676, allocations: 4.179 MB / 0.5791 GB, free: 75.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.8677, allocations: 92.02 kB / 0.5792 GB, free: 75.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.8698, allocations: 1.423 MB / 0.5806 GB, free: 74.87 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.8699, allocations: 25.7 kB / 0.5806 GB, free: 74.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008312/0.8708, allocations: 1.326 MB / 0.5819 GB, free: 74.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.8711, allocations: 442.9 kB / 0.5824 GB, free: 74.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.8712, allocations: 3.281 kB / 0.5824 GB, free: 74.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.8713, allocations: 369.1 kB / 0.5827 GB, free: 73.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008199/0.8721, allocations: 0.7511 MB / 0.5835 GB, free: 73.85 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.873, allocations: 1.094 MB / 0.5845 GB, free: 73.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.8742, allocations: 0.9519 MB / 0.5855 GB, free: 73.46 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.8742, allocations: 2.875 kB / 0.5855 GB, free: 73.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003247/0.8774, allocations: 2.291 MB / 0.5877 GB, free: 73.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.8775, allocations: 9.062 kB / 0.5877 GB, free: 73.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.8776, allocations: 16.77 kB / 0.5877 GB, free: 73.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008302/0.8784, allocations: 351.1 kB / 0.5881 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.8796, allocations: 334 kB / 0.5884 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.8836, allocations: 3.896 MB / 0.5922 GB, free: 71.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.8851, allocations: 54.73 kB / 0.5922 GB, free: 71.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.8853, allocations: 62.53 kB / 0.5923 GB, free: 71.95 MB / 442.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 () * 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.0002868/0.8856, allocations: 137.8 kB / 0.5924 GB, free: 71.85 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.8859, allocations: 171 kB / 0.5926 GB, free: 71.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002853/0.8887, allocations: 2 MB / 0.5945 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.8888, allocations: 12.22 kB / 0.5945 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8888, allocations: 7.469 kB / 0.5946 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.8888, allocations: 3.656 kB / 0.5946 GB, free: 71.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/0.8954, allocations: 4.637 MB / 0.5991 GB, free: 71.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/0.8955, allocations: 3.406 kB / 0.5991 GB, free: 71.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009264/0.8964, allocations: 235.3 kB / 0.5993 GB, free: 71.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/0.8972, allocations: 331.6 kB / 0.5996 GB, free: 71.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.8973, allocations: 13.53 kB / 0.5996 GB, free: 71.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.901, allocations: 3.817 MB / 0.6034 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.901, allocations: 3.719 kB / 0.6034 GB, free: 69.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003755/0.9048, allocations: 3.113 MB / 0.6064 GB, free: 69.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/0.9057, allocations: 444.7 kB / 0.6068 GB, free: 69.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.9059, allocations: 16.22 kB / 0.6069 GB, free: 69.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.9069, allocations: 80.59 kB / 0.6069 GB, free: 69.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/0.9071, allocations: 88.25 kB / 0.607 GB, free: 69.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/0.9072, allocations: 43.7 kB / 0.6071 GB, free: 69.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00138/0.9086, allocations: 1.087 MB / 0.6081 GB, free: 69.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9086, allocations: 3 kB / 0.6081 GB, free: 69.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001763/0.9103, allocations: 0.5074 MB / 0.6086 GB, free: 69.14 MB / 442.7 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.0004314/0.9108, allocations: 206.1 kB / 0.6088 GB, free: 69.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.9136, allocations: 2.157 MB / 0.6109 GB, free: 68.78 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9136, allocations: 2.719 kB / 0.6109 GB, free: 68.78 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.9152, allocations: 1.242 MB / 0.6121 GB, free: 68.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.9173, allocations: 350.4 kB / 0.6125 GB, free: 68.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008861/0.9262, allocations: 4.542 MB / 0.6169 GB, free: 67.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002124/0.9284, allocations: 2.486 MB / 0.6193 GB, free: 66.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001589/0.93, allocations: 456.7 kB / 0.6198 GB, free: 66.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.9303, allocations: 114.3 kB / 0.6199 GB, free: 66.77 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9304, allocations: 0 / 0.6199 GB, free: 66.77 MB / 442.7 MB Notification: Performance of Templates: time 0.03948/0.9698, allocations: 22.8 MB / 0.6421 GB, free: 65.93 MB / 442.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/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