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.0008087/0.0008087, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001101/0.00191, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001161/0.001161, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001516/0.002677, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.935/0.935, allocations: 177.5 MB / 190 MB, free: 4.805 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09114/1.026, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.553e-06/1.553e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.999e-05/2.154e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00626/0.006281, allocations: 7.58 MB / 252.8 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.01043, allocations: 2.818 MB / 255.6 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006676/0.0111, allocations: 95.31 kB / 255.7 MB, free: 3.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008559/0.01196, allocations: 0.5974 MB / 256.3 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.01323, allocations: 0.7995 MB / 257.1 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.01385, allocations: 431.2 kB / 257.5 MB, free: 1.207 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.01628, allocations: 3.435 MB / 260.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.01799, allocations: 2 MB / 262.9 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003179/0.02117, allocations: 3.086 MB / 266 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.0232, allocations: 1.89 MB / 267.9 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007289/0.02393, allocations: 456 kB / 268.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009091/0.02484, allocations: 0.6479 MB / 269 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007713/0.02561, allocations: 1.04 MB / 270.1 MB, free: 4.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.02669, allocations: 1.115 MB / 271.2 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005555/0.03224, allocations: 3.092 MB / 274.3 MB, free: 364 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.436e-05/0.03227, allocations: 3.938 kB / 274.3 MB, free: 360 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.03227, allocations: 0 / 274.3 MB, free: 360 kB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0003182/0.03259, allocations: 0 / 274.3 MB, free: 360 kB / 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.1302/0.1628, allocations: 4.215 MB / 278.5 MB, free: 20.56 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.1628, allocations: 10.59 kB / 278.5 MB, free: 20.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.164, allocations: 0.6344 MB / 279.1 MB, free: 20.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.1659, allocations: 1.379 MB / 280.5 MB, free: 19.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.1661, allocations: 226.5 kB / 280.7 MB, free: 19.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003029/0.1664, allocations: 290.1 kB / 281 MB, free: 19.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003049/0.1694, allocations: 2.359 MB / 283.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.142e-05/0.1695, allocations: 2.203 kB / 283.4 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.1696, allocations: 124 kB / 283.5 MB, free: 19.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.1697, allocations: 147.7 kB / 283.6 MB, free: 19.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.1711, allocations: 0.8234 MB / 284.5 MB, free: 19.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006361/0.1774, allocations: 6.519 MB / 291 MB, free: 16.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006515/0.1781, allocations: 0.79 MB / 291.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/0.1788, allocations: 0.7476 MB / 292.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.1789, allocations: 48.97 kB / 292.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1789, allocations: 47.56 kB / 292.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.554e-06/0.1789, allocations: 0 / 292.6 MB, free: 15.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002297/0.1812, allocations: 1.933 MB / 294.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.1813, allocations: 68.38 kB / 294.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.1818, allocations: 1.089 MB / 295.7 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.1819, allocations: 53.7 kB / 295.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.1821, allocations: 1.165 MB / 296.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.1823, allocations: 466.2 kB / 297.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.1825, allocations: 256.7 kB / 297.6 MB, free: 10.52 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.359e-05/0.1825, allocations: 305.1 kB / 297.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.1827, allocations: 174.8 kB / 298.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.183, allocations: 0.5353 MB / 298.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005535/0.1835, allocations: 0.8551 MB / 299.5 MB, free: 8.434 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.1835, allocations: 8 kB / 299.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.0009468/0.1845, allocations: 0.9715 MB / 300.5 MB, free: 7.449 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1845, allocations: 8 kB / 300.5 MB, free: 7.441 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1845, allocations: 12.19 kB / 300.5 MB, free: 7.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008033/0.1853, allocations: 372.2 kB / 300.8 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.186, allocations: 351.5 kB / 301.2 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001671/0.1877, allocations: 2.573 MB / 303.8 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003878/0.188, allocations: 59.88 kB / 303.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.1881, allocations: 47.98 kB / 303.9 MB, free: 3.961 MB / 266.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.0002975/0.1884, allocations: 192.4 kB / 304.1 MB, free: 3.762 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.1886, allocations: 159.8 kB / 304.2 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008961/0.1895, allocations: 0.807 MB / 305 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.1895, allocations: 19.94 kB / 305 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1895, allocations: 7.062 kB / 305 MB, free: 2.758 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.1895, allocations: 7.969 kB / 305.1 MB, free: 2.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.1917, allocations: 2.59 MB / 307.6 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.1918, allocations: 0 / 307.6 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.1923, allocations: 235.7 kB / 307.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.1926, allocations: 222.9 kB / 308.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008048/0.1934, allocations: 375.7 kB / 308.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.1935, allocations: 31.92 kB / 308.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.1954, allocations: 2.569 MB / 311.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.1954, allocations: 7.969 kB / 311.1 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.1967, allocations: 1.154 MB / 312.2 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.1968, allocations: 27.98 kB / 312.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003546/0.1971, allocations: 63.95 kB / 312.3 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.1973, allocations: 92.7 kB / 312.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.156e-05/0.1973, allocations: 32.02 kB / 312.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004287/0.1978, allocations: 0.5574 MB / 313 MB, free: 10.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1978, allocations: 0 / 313 MB, free: 10.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008871/0.1986, allocations: 0.539 MB / 313.5 MB, free: 10.08 MB / 282.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.0005052/0.1991, allocations: 221.7 kB / 313.7 MB, free: 9.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.2002, allocations: 0.9722 MB / 314.7 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.375e-05/0.2002, allocations: 27.12 kB / 314.7 MB, free: 8.867 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.2009, allocations: 0.7106 MB / 315.5 MB, free: 8.141 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00202/0.2029, allocations: 4.042 MB / 319.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/0.2168, allocations: 5.064 MB / 324.6 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.2174, allocations: 0.7358 MB / 325.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0009169/0.2183, allocations: 230.1 kB / 325.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.2195, allocations: 439.1 kB / 325.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of SimCode: time 1.603e-06/0.2195, allocations: 4 kB / 325.9 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Templates: time 0.03594/0.2554, allocations: 29.05 MB / 355 MB, free: 108 kB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1676749074831605]