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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001133/0.001133, allocations: 80.34 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001585/0.001585, allocations: 159.5 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9207/0.9207, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") translateModel(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 4 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.791e-05/2.085e-05, allocations: 5.156 kB / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006085/0.006106, allocations: 7.484 MB / 281.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.01006, allocations: 2.698 MB / 284.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.01071, allocations: 87.38 kB / 284.4 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009047/0.01162, allocations: 0.5819 MB / 285 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.01296, allocations: 0.8112 MB / 285.8 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.01361, allocations: 435.2 kB / 286.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.01598, allocations: 3.416 MB / 289.6 MB, free: 4.711 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.01795, allocations: 1.961 MB / 291.6 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.02134, allocations: 2.929 MB / 294.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/0.02316, allocations: 1.894 MB / 296.4 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004557/0.02361, allocations: 452 kB / 296.8 MB, free: 13.45 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.02468, allocations: 0.6517 MB / 297.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007587/0.02544, allocations: 1.27 MB / 298.8 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.02672, allocations: 1.353 MB / 300.1 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.02955, allocations: 3.302 MB / 303.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.02956, allocations: 0 / 303.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02956, allocations: 0 / 303.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/0.02959, allocations: 0 / 303.4 MB, free: 6.859 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 778 * Number of variables: 778 Notification: Performance of Generate backend data structure: time 0.003935/0.03353, allocations: 3.88 MB / 307.3 MB, free: 2.914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.03356, allocations: 12.02 kB / 307.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.03462, allocations: 0.6782 MB / 308 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.03636, allocations: 1.874 MB / 309.9 MB, free: 304 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.03647, allocations: 222.2 kB / 310.1 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.03673, allocations: 292.4 kB / 310.4 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.03922, allocations: 2.297 MB / 312.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/0.03926, allocations: 3.938 kB / 312.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.03942, allocations: 120 kB / 312.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.03954, allocations: 153.9 kB / 312.9 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.04062, allocations: 0.7666 MB / 313.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008142/0.04876, allocations: 8.084 MB / 321.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008475/0.04961, allocations: 0.8124 MB / 322.6 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000964/0.05058, allocations: 0.7878 MB / 323.4 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.0507, allocations: 48.92 kB / 323.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.05073, allocations: 58.33 kB / 323.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 2.875e-06/0.05074, allocations: 4 kB / 323.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.00326/0.054, allocations: 2.128 MB / 325.6 MB, free: 172 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.05404, allocations: 98.41 kB / 325.7 MB, free: 52 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.05505, allocations: 1.338 MB / 327.1 MB, free: 14.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.493e-05/0.05511, allocations: 45.7 kB / 327.1 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006653/0.05577, allocations: 1.481 MB / 328.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.05602, allocations: 495.9 kB / 329.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.05631, allocations: 285.1 kB / 329.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.05641, allocations: 484.7 kB / 329.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.05665, allocations: 163.9 kB / 330 MB, free: 11.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/0.05713, allocations: 0.7166 MB / 330.7 MB, free: 10.81 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.05798, allocations: 0.9717 MB / 331.7 MB, free: 9.648 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.05799, allocations: 7.938 kB / 331.7 MB, free: 9.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001905/0.05989, allocations: 1.191 MB / 332.9 MB, free: 8.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.05991, allocations: 8 kB / 332.9 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.05993, allocations: 12 kB / 332.9 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/0.06087, allocations: 381.9 kB / 333.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/0.06154, allocations: 295.5 kB / 333.6 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.064, allocations: 3.225 MB / 336.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.06469, allocations: 55.94 kB / 336.8 MB, free: 4.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.06476, allocations: 48 kB / 336.9 MB, free: 4.316 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006204/0.06539, allocations: 244.2 kB / 337.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/0.06569, allocations: 234.7 kB / 337.3 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.06687, allocations: 0.9437 MB / 338.3 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/0.0669, allocations: 16 kB / 338.3 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.0669, allocations: 8 kB / 338.3 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.06691, allocations: 3.984 kB / 338.3 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.07091, allocations: 3.224 MB / 341.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.07092, allocations: 4 kB / 341.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.07139, allocations: 191.7 kB / 341.7 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008503/0.07224, allocations: 371.6 kB / 342.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.314e-05/0.07229, allocations: 31.98 kB / 342.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.07451, allocations: 3.17 MB / 345.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.07452, allocations: 7.938 kB / 345.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.07628, allocations: 1.356 MB / 346.7 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003951/0.07667, allocations: 286.7 kB / 346.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.07679, allocations: 31.98 kB / 347 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003956/0.07719, allocations: 60 kB / 347 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.07732, allocations: 96.75 kB / 347.1 MB, free: 9.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.07737, allocations: 27.98 kB / 347.2 MB, free: 9.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005625/0.07793, allocations: 0.7324 MB / 347.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07793, allocations: 0 / 347.9 MB, free: 9.043 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0012/0.07913, allocations: 0.5429 MB / 348.4 MB, free: 8.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (102): * Single equations (assignments): 97 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003987/0.07953, allocations: 224.2 kB / 348.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.08078, allocations: 1.097 MB / 349.7 MB, free: 7.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.08078, allocations: 4.188 kB / 349.7 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.0815, allocations: 0.731 MB / 350.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.08251, allocations: 414.1 kB / 350.9 MB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.08869, allocations: 4.75 MB / 355.6 MB, free: 1.176 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006629/0.08935, allocations: 0.8757 MB / 356.5 MB, free: 284 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006939/0.09005, allocations: 226 kB / 356.7 MB, free: 52 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1023/0.1923, allocations: 494.1 kB / 357.2 MB, free: 80.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.1923, allocations: 0 / 357.2 MB, free: 80.7 MB / 330.7 MB Notification: Performance of Templates: time 0.03679/0.2291, allocations: 28.3 MB / 385.5 MB, free: 63.42 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/TransformerTestbench/TransformerTestbench.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5982922022230923]