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.0009449/0.0009449, allocations: 83.67 kB / 21.7 MB, free: 2.852 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.001013/0.001013, allocations: 160.3 kB / 24.99 MB, free: 9.289 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.9087/0.9087, allocations: 177 MB / 205.2 MB, free: 5.586 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 1.432e-06/1.432e-06, allocations: 0 / 273 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.168e-05, allocations: 5.266 kB / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.006452/0.006473, allocations: 7.666 MB / 280.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.01051, allocations: 2.706 MB / 283.4 MB, free: 7.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007123/0.01122, allocations: 87.38 kB / 283.5 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.01219, allocations: 0.5823 MB / 284 MB, free: 6.648 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.01346, allocations: 0.8151 MB / 284.9 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.01407, allocations: 423.3 kB / 285.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002419/0.01649, allocations: 3.415 MB / 288.7 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1078/0.1243, allocations: 1.959 MB / 290.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.128, allocations: 2.545 MB / 293.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.1303, allocations: 2.013 MB / 295.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007495/0.1311, allocations: 461.8 kB / 295.7 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009979/0.1321, allocations: 0.6559 MB / 296.3 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.1331, allocations: 1.322 MB / 297.6 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.1347, allocations: 1.383 MB / 299 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.1379, allocations: 3.369 MB / 302.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1379, allocations: 0 / 302.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1379, allocations: 1.688 kB / 302.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.049e-05/0.138, allocations: 0 / 302.4 MB, free: 13.85 MB / 266.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.005024/0.143, allocations: 4.055 MB / 306.4 MB, free: 11.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1431, allocations: 12.8 kB / 306.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.1443, allocations: 0.6736 MB / 307.1 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002325/0.1467, allocations: 1.959 MB / 309.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.1468, allocations: 222.3 kB / 309.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.1471, allocations: 290.6 kB / 309.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/0.1507, allocations: 2.497 MB / 312.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.1508, allocations: 0 / 312.1 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000238/0.151, allocations: 120.3 kB / 312.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.1511, allocations: 153.1 kB / 312.4 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002509/0.1536, allocations: 1.021 MB / 313.4 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009605/0.1632, allocations: 8.361 MB / 321.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.1646, allocations: 0.8646 MB / 322.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.166, allocations: 0.7927 MB / 323.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.1662, allocations: 48.97 kB / 323.4 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1662, allocations: 56.83 kB / 323.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=128): time 2.946e-06/0.1662, allocations: 0 / 323.5 MB, free: 13.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=133): time 0.00485/0.1711, allocations: 2.731 MB / 326.2 MB, free: 10.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.1711, allocations: 94.42 kB / 326.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.173, allocations: 1.413 MB / 327.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.173, allocations: 49.7 kB / 327.8 MB, free: 9.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008335/0.1739, allocations: 1.464 MB / 329.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.1742, allocations: 488.8 kB / 329.7 MB, free: 7.371 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/0.1746, allocations: 289.1 kB / 330 MB, free: 7.078 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.1747, allocations: 476.8 kB / 330.5 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006588/0.1753, allocations: 227.8 kB / 330.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.1762, allocations: 0.7594 MB / 331.4 MB, free: 5.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.1776, allocations: 1.062 MB / 332.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1776, allocations: 11.94 kB / 332.5 MB, free: 4.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002354/0.1799, allocations: 1.313 MB / 333.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1799, allocations: 8 kB / 333.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.18, allocations: 12.19 kB / 333.9 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.1812, allocations: 381.8 kB / 334.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/0.1821, allocations: 332.3 kB / 334.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003569/0.1857, allocations: 3.335 MB / 337.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007292/0.1864, allocations: 87.91 kB / 338 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.1866, allocations: 60 kB / 338 MB, free: 14.68 MB / 298.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 (158): * Single equations (assignments): 153 * 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.0005825/0.1871, allocations: 246 kB / 338.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003656/0.1875, allocations: 234.3 kB / 338.5 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.1893, allocations: 1.059 MB / 339.6 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.1894, allocations: 19.98 kB / 339.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.1894, allocations: 4 kB / 339.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.1894, allocations: 7.969 kB / 339.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005237/0.1946, allocations: 3.483 MB / 343.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1946, allocations: 3.938 kB / 343.1 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006899/0.1953, allocations: 230.5 kB / 343.3 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/0.1965, allocations: 367.6 kB / 343.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/0.1966, allocations: 38.8 kB / 343.7 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.1997, allocations: 3.288 MB / 347 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.1997, allocations: 3.984 kB / 347 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003028/0.2028, allocations: 1.537 MB / 348.5 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/0.2032, allocations: 346.7 kB / 348.9 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.2033, allocations: 27.94 kB / 348.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/0.2038, allocations: 95.94 kB / 349 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.204, allocations: 100.8 kB / 349.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.204, allocations: 47.77 kB / 349.1 MB, free: 3.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008195/0.2048, allocations: 0.8185 MB / 350 MB, free: 2.609 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2048, allocations: 0 / 350 MB, free: 2.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001217/0.2061, allocations: 0.5537 MB / 350.5 MB, free: 2.059 MB / 298.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: 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.0004115/0.2065, allocations: 225.3 kB / 350.7 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.208, allocations: 1.197 MB / 351.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.208, allocations: 0 / 351.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000974/0.209, allocations: 0.7831 MB / 352.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.21, allocations: 443.5 kB / 353.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005577/0.2156, allocations: 4.896 MB / 358 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006313/0.2162, allocations: 0.8757 MB / 358.9 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000633/0.2169, allocations: 365.8 kB / 359.3 MB, free: 9.242 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/0.2173, allocations: 124.5 kB / 359.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2173, allocations: 0 / 359.4 MB, free: 9.121 MB / 314.7 MB Notification: Performance of Templates: time 0.0315/0.2487, allocations: 27.64 MB / 387 MB, free: 13.89 MB / 346.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.3157928939908743]