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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.922/0.922, allocations: 173.3 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 268 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.103e-05, allocations: 6.25 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.008461/0.008492, allocations: 7.661 MB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005173/0.01366, allocations: 2.629 MB / 278.3 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.01473, allocations: 91.31 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.01605, allocations: 0.5819 MB / 279 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.01784, allocations: 0.7957 MB / 279.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.01873, allocations: 427.2 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003247/0.02197, allocations: 3.392 MB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.02419, allocations: 1.968 MB / 285.5 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003933/0.02812, allocations: 2.891 MB / 288.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.03036, allocations: 1.883 MB / 290.3 MB, free: 16 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1126/0.143, allocations: 450.7 kB / 290.7 MB, free: 19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.1447, allocations: 0.6366 MB / 291.4 MB, free: 19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001009/0.1457, allocations: 1.262 MB / 292.6 MB, free: 19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002589/0.1483, allocations: 1.344 MB / 294 MB, free: 19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004329/0.1526, allocations: 3.29 MB / 297.3 MB, free: 18.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1526, allocations: 1.125 kB / 297.3 MB, free: 18.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1526, allocations: 2.156 kB / 297.3 MB, free: 18.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000163/0.1528, allocations: 0 / 297.3 MB, free: 18.73 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007061/0.1599, allocations: 3.942 MB / 301.2 MB, free: 17.1 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1599, allocations: 10.61 kB / 301.2 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.161, allocations: 0.6375 MB / 301.9 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/0.1633, allocations: 1.979 MB / 303.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/0.1634, allocations: 219.3 kB / 304.1 MB, free: 15.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.1637, allocations: 286.1 kB / 304.3 MB, free: 15.63 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003365/0.167, allocations: 2.477 MB / 306.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.857e-05/0.1671, allocations: 7.938 kB / 306.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001787/0.1673, allocations: 119.8 kB / 306.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-05/0.1674, allocations: 144.1 kB / 307.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.1692, allocations: 0.992 MB / 308.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008708/0.1779, allocations: 8.195 MB / 316.3 MB, free: 9.137 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009321/0.1788, allocations: 0.8883 MB / 317.2 MB, free: 8.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.1799, allocations: 0.8653 MB / 318 MB, free: 7.414 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.1801, allocations: 56.97 kB / 318.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1801, allocations: 50.39 kB / 318.1 MB, free: 7.297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.717e-06/0.1801, allocations: 0 / 318.1 MB, free: 7.297 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.003612/0.1837, allocations: 2.704 MB / 320.8 MB, free: 4.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.1837, allocations: 90.42 kB / 320.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.1848, allocations: 1.377 MB / 322.3 MB, free: 3.074 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.837e-05/0.1849, allocations: 49.7 kB / 322.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005239/0.1854, allocations: 1.45 MB / 323.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.1856, allocations: 488.2 kB / 324.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/0.1859, allocations: 287.7 kB / 324.6 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.1859, allocations: 476.8 kB / 325 MB, free: 344 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.1862, allocations: 227.8 kB / 325.2 MB, free: 116 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.1869, allocations: 0.7592 MB / 326 MB, free: 15.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.1879, allocations: 1.062 MB / 327.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1879, allocations: 8 kB / 327.1 MB, free: 13.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0018/0.1897, allocations: 1.297 MB / 328.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.1897, allocations: 11.94 kB / 328.4 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.1897, allocations: 16.19 kB / 328.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009562/0.1907, allocations: 391.4 kB / 328.8 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.1914, allocations: 325.2 kB / 329.1 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.1941, allocations: 3.338 MB / 332.4 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.1949, allocations: 71.94 kB / 332.5 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-05/0.1949, allocations: 60 kB / 332.6 MB, free: 8.445 MB / 282.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.0007603/0.1957, allocations: 238.2 kB / 332.8 MB, free: 8.219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.196, allocations: 229.7 kB / 333 MB, free: 7.996 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.1975, allocations: 1.04 MB / 334.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/0.1975, allocations: 27.92 kB / 334.1 MB, free: 6.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1975, allocations: 4 kB / 334.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1975, allocations: 3.984 kB / 334.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.202, allocations: 3.351 MB / 337.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.202, allocations: 0 / 337.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004863/0.2025, allocations: 216.9 kB / 337.7 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008882/0.2034, allocations: 374.5 kB / 338 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-05/0.2034, allocations: 27.98 kB / 338.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.2058, allocations: 3.293 MB / 341.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2058, allocations: 2.906 kB / 341.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.2077, allocations: 1.499 MB / 342.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004546/0.2081, allocations: 322.4 kB / 343.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.2082, allocations: 28 kB / 343.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.2087, allocations: 87.12 kB / 343.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.2088, allocations: 104.8 kB / 343.4 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.2089, allocations: 39.98 kB / 343.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008066/0.2097, allocations: 0.7872 MB / 344.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2097, allocations: 0 / 344.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001634/0.2113, allocations: 0.539 MB / 344.7 MB, free: 12.14 MB / 298.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.0004724/0.2118, allocations: 237.1 kB / 345 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.2133, allocations: 1.191 MB / 346.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2133, allocations: 0 / 346.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008329/0.2141, allocations: 0.7835 MB / 347 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.2152, allocations: 413.3 kB / 347.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.2214, allocations: 4.766 MB / 352.1 MB, free: 4.742 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/0.2221, allocations: 0.8711 MB / 353 MB, free: 3.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006935/0.2228, allocations: 365.8 kB / 353.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.223, allocations: 115.4 kB / 353.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.223, allocations: 4 kB / 353.5 MB, free: 3.371 MB / 298.7 MB Notification: Performance of Templates: time 0.03542/0.2584, allocations: 27.38 MB / 380.8 MB, free: 8.41 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",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.332158133853227]