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.001109/0.001109, allocations: 201.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 226.5 MB / 245.4 MB, free: 8.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001153/0.001153, allocations: 103.4 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002447/0.0002449, allocations: 4 kB / 358.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2104, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1074/0.3178, allocations: 93.53 MB / 0.4911 GB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.3181, allocations: 91.95 kB / 0.4912 GB, free: 13.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3478/0.6659, allocations: 74.39 MB / 0.5639 GB, free: 47.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6659, allocations: 0 / 0.5639 GB, free: 47.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002363/0.6661, allocations: 87.81 kB / 0.5639 GB, free: 47.82 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.007926/0.6741, allocations: 3.198 MB / 0.5671 GB, free: 44.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6741, allocations: 8.031 kB / 0.5671 GB, free: 44.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.6761, allocations: 452.5 kB / 0.5675 GB, free: 44.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/0.6806, allocations: 2.244 MB / 0.5697 GB, free: 41.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.6808, allocations: 218.2 kB / 0.5699 GB, free: 41.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007923/0.6816, allocations: 288.4 kB / 0.5702 GB, free: 41.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006847/0.6885, allocations: 4.134 MB / 0.5742 GB, free: 37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/0.6886, allocations: 192 / 0.5742 GB, free: 37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.6889, allocations: 131.9 kB / 0.5743 GB, free: 36.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.689, allocations: 133.9 kB / 0.5745 GB, free: 36.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004637/0.6936, allocations: 3.197 MB / 0.5776 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/0.7085, allocations: 11.02 MB / 0.5884 GB, free: 22.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/0.7106, allocations: 2.638 MB / 0.5909 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.7126, allocations: 1.484 MB / 0.5924 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.7128, allocations: 142 kB / 0.5925 GB, free: 17.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.7129, allocations: 51.5 kB / 0.5926 GB, free: 17.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.246e-06/0.7129, allocations: 0 / 0.5926 GB, free: 17.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.007893/0.7208, allocations: 5.286 MB / 0.5977 GB, free: 12.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.7208, allocations: 90.42 kB / 0.5978 GB, free: 12.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.723, allocations: 1.91 MB / 0.5997 GB, free: 10.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.7232, allocations: 45.7 kB / 0.5997 GB, free: 10.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/0.7237, allocations: 1.322 MB / 0.601 GB, free: 8.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.724, allocations: 461.3 kB / 0.6014 GB, free: 8.531 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.954e-05/0.7241, allocations: 28 kB / 0.6015 GB, free: 8.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.7242, allocations: 361.9 kB / 0.6018 GB, free: 8.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.7253, allocations: 0.812 MB / 0.6026 GB, free: 7.332 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.7273, allocations: 1.169 MB / 0.6038 GB, free: 6.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.7313, allocations: 2.066 MB / 0.6058 GB, free: 3.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.7314, allocations: 7.938 kB / 0.6058 GB, free: 3.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00628/0.7377, allocations: 2.503 MB / 0.6082 GB, free: 1.293 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.7377, allocations: 16.09 kB / 0.6082 GB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.122e-05/0.7378, allocations: 19.98 kB / 0.6083 GB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001481/0.7393, allocations: 355.1 kB / 0.6086 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.7419, allocations: 335.5 kB / 0.6089 GB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009166/0.7511, allocations: 4.062 MB / 0.6129 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/0.7539, allocations: 91.83 kB / 0.613 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003659/0.7543, allocations: 63.98 kB / 0.613 GB, free: 12.23 MB / 394.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.00359/0.7579, allocations: 1.044 MB / 0.6141 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/0.759, allocations: 193.7 kB / 0.6142 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007181/0.7662, allocations: 2.176 MB / 0.6164 GB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.7663, allocations: 12 kB / 0.6164 GB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/0.7664, allocations: 7.984 kB / 0.6164 GB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.7664, allocations: 3.984 kB / 0.6164 GB, free: 8.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.7846, allocations: 5.218 MB / 0.6215 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/0.7847, allocations: 7.984 kB / 0.6215 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/0.7868, allocations: 235.9 kB / 0.6217 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.7885, allocations: 341 kB / 0.622 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001539/0.7887, allocations: 31.98 kB / 0.6221 GB, free: 2.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009087/0.7978, allocations: 3.963 MB / 0.6259 GB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.7978, allocations: 4.031 kB / 0.6259 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009018/0.8069, allocations: 3.261 MB / 0.6291 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.8085, allocations: 474.7 kB / 0.6296 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006305/0.8092, allocations: 31.94 kB / 0.6296 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.8109, allocations: 111.9 kB / 0.6297 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003129/0.8113, allocations: 100.8 kB / 0.6298 GB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.8114, allocations: 36 kB / 0.6298 GB, free: 10.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002721/0.8142, allocations: 1.334 MB / 0.6312 GB, free: 9.363 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.8142, allocations: 0 / 0.6312 GB, free: 9.363 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00234/0.8165, allocations: 0.5741 MB / 0.6317 GB, free: 8.789 MB / 410.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.0005668/0.8171, allocations: 218.5 kB / 0.6319 GB, free: 8.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003783/0.8209, allocations: 2.304 MB / 0.6342 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8209, allocations: 0 / 0.6342 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001994/0.8229, allocations: 1.327 MB / 0.6355 GB, free: 4.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.826, allocations: 497.2 kB / 0.6359 GB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.8381, allocations: 6.722 MB / 0.6425 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003544/0.8417, allocations: 2.42 MB / 0.6449 GB, free: 11.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002072/0.8438, allocations: 491.4 kB / 0.6453 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.8444, allocations: 127.4 kB / 0.6455 GB, free: 10.54 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.8444, allocations: 0 / 0.6455 GB, free: 10.54 MB / 426.7 MB Notification: Performance of Templates: time 0.2509/1.095, allocations: 29.46 MB / 0.6742 GB, free: 108.9 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/jenkins1/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