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.0008697/0.0008701, allocations: 176.8 kB / 17.4 MB, free: 4.414 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.525/1.525, allocations: 223.3 MB / 241.4 MB, free: 9.973 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.0007437/0.0007438, allocations: 92.69 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 8 kB / 352.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 50.4 MB / 402.8 MB, free: 32.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.342, allocations: 92.83 MB / 495.6 MB, free: 3.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003363/0.3424, allocations: 87.95 kB / 495.7 MB, free: 3.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4149/0.7573, allocations: 74.41 MB / 0.5567 GB, free: 56.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.336e-06/0.7573, allocations: 0 / 0.5567 GB, free: 56.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002829/0.7576, allocations: 87.81 kB / 0.5568 GB, free: 56.52 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.008033/0.7657, allocations: 3.198 MB / 0.5599 GB, free: 53.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7657, allocations: 12.03 kB / 0.5599 GB, free: 53.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.7673, allocations: 400.6 kB / 0.5603 GB, free: 52.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.7718, allocations: 2.236 MB / 0.5625 GB, free: 50.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.772, allocations: 226.2 kB / 0.5627 GB, free: 50.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007401/0.7727, allocations: 280.4 kB / 0.563 GB, free: 50.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006969/0.7797, allocations: 4.141 MB / 0.567 GB, free: 45.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.586e-05/0.7798, allocations: 4.172 kB / 0.567 GB, free: 45.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004055/0.7802, allocations: 127.9 kB / 0.5672 GB, free: 45.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.7803, allocations: 137.9 kB / 0.5673 GB, free: 45.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005131/0.7855, allocations: 3.193 MB / 0.5704 GB, free: 42.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.8016, allocations: 11.03 MB / 0.5812 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.8039, allocations: 2.615 MB / 0.5837 GB, free: 28.24 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00202/0.8059, allocations: 1.484 MB / 0.5852 GB, free: 26.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/0.8062, allocations: 142 kB / 0.5853 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.8063, allocations: 51.5 kB / 0.5854 GB, free: 26.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.857e-06/0.8063, allocations: 0 / 0.5854 GB, free: 26.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.008992/0.8153, allocations: 5.294 MB / 0.5905 GB, free: 21.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.8153, allocations: 94.42 kB / 0.5906 GB, free: 21.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.8182, allocations: 1.906 MB / 0.5925 GB, free: 19.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.8183, allocations: 45.7 kB / 0.5925 GB, free: 19.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.819, allocations: 1.318 MB / 0.5938 GB, free: 17.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.8193, allocations: 461.3 kB / 0.5943 GB, free: 17.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-05/0.8194, allocations: 28 kB / 0.5943 GB, free: 17.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.054e-05/0.8194, allocations: 369.8 kB / 0.5946 GB, free: 16.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.8205, allocations: 0.8081 MB / 0.5954 GB, free: 16.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.8217, allocations: 1.165 MB / 0.5966 GB, free: 14.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.8241, allocations: 2.07 MB / 0.5986 GB, free: 12.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.8241, allocations: 3.938 kB / 0.5986 GB, free: 12.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003624/0.8277, allocations: 2.507 MB / 0.601 GB, free: 10.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.8278, allocations: 15.98 kB / 0.6011 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/0.8278, allocations: 16.16 kB / 0.6011 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008874/0.8287, allocations: 356.8 kB / 0.6014 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.8299, allocations: 327.5 kB / 0.6017 GB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004085/0.834, allocations: 4.065 MB / 0.6057 GB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.8354, allocations: 83.83 kB / 0.6058 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.8356, allocations: 63.98 kB / 0.6058 GB, free: 5.016 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 (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.001599/0.8372, allocations: 1.049 MB / 0.6069 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/0.8377, allocations: 201.6 kB / 0.607 GB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/0.8409, allocations: 2.176 MB / 0.6092 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.8409, allocations: 16 kB / 0.6092 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.841, allocations: 4 kB / 0.6092 GB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.841, allocations: 3.984 kB / 0.6092 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008982/0.85, allocations: 5.222 MB / 0.6143 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.078e-05/0.85, allocations: 7.984 kB / 0.6143 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.851, allocations: 231.9 kB / 0.6145 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009059/0.852, allocations: 333 kB / 0.6148 GB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.8521, allocations: 35.98 kB / 0.6149 GB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.8572, allocations: 3.972 MB / 0.6188 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8572, allocations: 4 kB / 0.6188 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005213/0.8624, allocations: 3.265 MB / 0.6219 GB, free: 4.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.8635, allocations: 470.7 kB / 0.6224 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000437/0.8639, allocations: 27.94 kB / 0.6224 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.8651, allocations: 108 kB / 0.6225 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.8653, allocations: 104.7 kB / 0.6226 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.8654, allocations: 43.98 kB / 0.6227 GB, free: 3.449 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002145/0.8676, allocations: 1.331 MB / 0.624 GB, free: 2.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8676, allocations: 0 / 0.624 GB, free: 2.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002261/0.8699, allocations: 0.5703 MB / 0.6245 GB, free: 1.555 MB / 394.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: 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.0004871/0.8704, allocations: 226.5 kB / 0.6247 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003667/0.874, allocations: 2.3 MB / 0.627 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.904e-06/0.8741, allocations: 4 kB / 0.627 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.876, allocations: 1.327 MB / 0.6283 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.8788, allocations: 0.4911 MB / 0.6288 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009825/0.8886, allocations: 6.716 MB / 0.6353 GB, free: 6.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002246/0.8909, allocations: 2.428 MB / 0.6377 GB, free: 3.902 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001635/0.8925, allocations: 487.4 kB / 0.6382 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000372/0.8929, allocations: 127.4 kB / 0.6383 GB, free: 3.297 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8929, allocations: 0 / 0.6383 GB, free: 3.297 MB / 410.7 MB Notification: Performance of Templates: time 0.05541/0.9483, allocations: 29.47 MB / 0.6671 GB, free: 6.141 MB / 442.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/jenkins1/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