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.0009562/0.0009562, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001091/0.001091, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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.9743/0.9743, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.734e-06/1.734e-06, allocations: 0 / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.535e-05, allocations: 2.312 kB / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.009818/0.009844, allocations: 7.626 MB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006108/0.01595, allocations: 2.625 MB / 278.3 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.01751, allocations: 95.31 kB / 278.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.01903, allocations: 0.5741 MB / 279 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.02146, allocations: 0.7957 MB / 279.8 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009284/0.02239, allocations: 423.3 kB / 280.2 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002751/0.02514, allocations: 3.396 MB / 283.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.02702, allocations: 1.96 MB / 285.6 MB, free: 5.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002909/0.02993, allocations: 2.533 MB / 288.1 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.03198, allocations: 2.004 MB / 290.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004859/0.03246, allocations: 464 kB / 290.6 MB, free: 128 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1156/0.1481, allocations: 0.6449 MB / 291.2 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00123/0.1493, allocations: 1.316 MB / 292.5 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.152, allocations: 1.377 MB / 293.9 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004084/0.156, allocations: 3.348 MB / 297.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.156, allocations: 0 / 297.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.156, allocations: 3.562 kB / 297.2 MB, free: 18.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001733/0.1562, allocations: 2.469 kB / 297.2 MB, free: 18.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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.007979/0.1642, allocations: 4.028 MB / 301.3 MB, free: 17.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.1642, allocations: 9.234 kB / 301.3 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.1655, allocations: 0.6304 MB / 301.9 MB, free: 16.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002761/0.1683, allocations: 1.938 MB / 303.8 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.1684, allocations: 224.6 kB / 304.1 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.1688, allocations: 292.5 kB / 304.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.1724, allocations: 2.476 MB / 306.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.1725, allocations: 11.41 kB / 306.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00019/0.1727, allocations: 119.7 kB / 307 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.1728, allocations: 140.1 kB / 307.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.175, allocations: 1.006 MB / 308.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009175/0.1842, allocations: 8.335 MB / 316.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1852, allocations: 0.858 MB / 317.3 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009566/0.1861, allocations: 0.7896 MB / 318.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/0.1863, allocations: 59.81 kB / 318.1 MB, free: 7.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1863, allocations: 49.95 kB / 318.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.406e-06/0.1863, allocations: 0 / 318.2 MB, free: 7.547 MB / 266.7 MB Notification: Performance of matching and sorting (n=133): time 0.003967/0.1903, allocations: 2.731 MB / 320.9 MB, free: 4.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1903, allocations: 90.42 kB / 321 MB, free: 4.699 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.1916, allocations: 1.401 MB / 322.4 MB, free: 3.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.1917, allocations: 45.7 kB / 322.5 MB, free: 3.223 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.1921, allocations: 1.456 MB / 323.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.1923, allocations: 493 kB / 324.4 MB, free: 1.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.1926, allocations: 288.3 kB / 324.7 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.407e-05/0.1926, allocations: 480.7 kB / 325.1 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.193, allocations: 223.9 kB / 325.4 MB, free: 312 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.1936, allocations: 0.7693 MB / 326.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.1948, allocations: 1.063 MB / 327.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.1948, allocations: 4 kB / 327.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.001965/0.1968, allocations: 1.301 MB / 328.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.1968, allocations: 12.12 kB / 328.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.1968, allocations: 16 kB / 328.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.1978, allocations: 381.3 kB / 328.9 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.1986, allocations: 336 kB / 329.2 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002924/0.2015, allocations: 3.324 MB / 332.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009774/0.2025, allocations: 94.95 kB / 332.6 MB, free: 8.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.2026, allocations: 58.84 kB / 332.7 MB, free: 8.617 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 (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.0009266/0.2035, allocations: 243.2 kB / 332.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.2039, allocations: 230.8 kB / 333.2 MB, free: 8.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.2055, allocations: 1.056 MB / 334.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.2055, allocations: 27.41 kB / 334.2 MB, free: 7.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2055, allocations: 8 kB / 334.3 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.2055, allocations: 3.984 kB / 334.3 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005386/0.2109, allocations: 3.476 MB / 337.7 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.2109, allocations: 4.562 kB / 337.7 MB, free: 3.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.2115, allocations: 225.5 kB / 338 MB, free: 3.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.2125, allocations: 375.6 kB / 338.3 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.319e-05/0.2126, allocations: 35.92 kB / 338.4 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/0.2154, allocations: 3.289 MB / 341.6 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2154, allocations: 4 kB / 341.7 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.2176, allocations: 1.534 MB / 343.2 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.2182, allocations: 338.8 kB / 343.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.2184, allocations: 32.02 kB / 343.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/0.2189, allocations: 102.7 kB / 343.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.2191, allocations: 100.5 kB / 343.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.328e-05/0.2191, allocations: 43.98 kB / 343.8 MB, free: 13.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.2202, allocations: 0.8067 MB / 344.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2202, allocations: 4 kB / 344.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001595/0.2217, allocations: 0.5585 MB / 345.2 MB, free: 12.01 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.0005017/0.2222, allocations: 231.6 kB / 345.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.224, allocations: 1.195 MB / 346.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.224, allocations: 1.938 kB / 346.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009104/0.2249, allocations: 0.7765 MB / 347.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.2262, allocations: 442.7 kB / 347.8 MB, free: 9.426 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.233, allocations: 4.871 MB / 352.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.2337, allocations: 0.8739 MB / 353.5 MB, free: 3.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008287/0.2345, allocations: 353.9 kB / 353.9 MB, free: 3.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.2348, allocations: 132.5 kB / 354 MB, free: 3.102 MB / 298.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2348, allocations: 0 / 354 MB, free: 3.102 MB / 298.7 MB Notification: Performance of Templates: time 0.03554/0.2703, allocations: 27.69 MB / 381.7 MB, free: 7.824 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.3309945838991553]