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.0007249/0.0007249, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009089/0.001634, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007168/0.0007168, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008444/0.001561, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9343/0.9343, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09158/1.026, allocations: 53.87 MB / 243.8 MB, free: 14.91 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.774e-06/1.774e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.311e-05/2.489e-05, allocations: 6.312 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00606/0.006085, allocations: 7.587 MB / 252.6 MB, free: 6.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002902/0.008987, allocations: 2.814 MB / 255.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003777/0.009365, allocations: 91.38 kB / 255.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.0101, allocations: 0.5974 MB / 256.1 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009655/0.01106, allocations: 0.8073 MB / 256.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.01151, allocations: 423.3 kB / 257.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.01346, allocations: 3.447 MB / 260.8 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.01485, allocations: 1.996 MB / 262.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00454/0.01939, allocations: 3.072 MB / 265.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002361/0.02175, allocations: 1.89 MB / 267.7 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009033/0.02266, allocations: 460 kB / 268.2 MB, free: 6.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.02381, allocations: 0.644 MB / 268.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008317/0.02464, allocations: 1.04 MB / 269.9 MB, free: 4.652 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001523/0.02616, allocations: 1.107 MB / 271 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.02924, allocations: 3.104 MB / 274.1 MB, free: 440 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/0.02925, allocations: 0 / 274.1 MB, free: 440 kB / 266.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.02925, allocations: 0 / 274.1 MB, free: 440 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.499e-05/0.02935, allocations: 4 kB / 274.1 MB, free: 436 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.1219/0.1513, allocations: 4.215 MB / 278.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1513, allocations: 12.09 kB / 278.3 MB, free: 20.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004572/0.1559, allocations: 0.638 MB / 278.9 MB, free: 20.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.1585, allocations: 1.367 MB / 280.3 MB, free: 20.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003178/0.1617, allocations: 222.2 kB / 280.5 MB, free: 20 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003835/0.162, allocations: 289.7 kB / 280.8 MB, free: 20 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004531/0.1666, allocations: 2.372 MB / 283.2 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.1666, allocations: 0 / 283.2 MB, free: 19.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.1668, allocations: 120.1 kB / 283.3 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/0.1669, allocations: 151.5 kB / 283.5 MB, free: 19.42 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.1683, allocations: 0.8262 MB / 284.3 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007758/0.1761, allocations: 6.519 MB / 290.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.1768, allocations: 0.7871 MB / 291.6 MB, free: 16.13 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007301/0.1775, allocations: 0.7447 MB / 292.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.1776, allocations: 43.64 kB / 292.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1777, allocations: 51.56 kB / 292.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.437e-06/0.1777, allocations: 0 / 292.4 MB, free: 15.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002608/0.1803, allocations: 1.903 MB / 294.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.1803, allocations: 68.72 kB / 294.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006319/0.1809, allocations: 1.101 MB / 295.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.181, allocations: 45.7 kB / 295.5 MB, free: 12.35 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.1812, allocations: 1.157 MB / 296.7 MB, free: 11.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.1814, allocations: 470.6 kB / 297.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.1816, allocations: 252.3 kB / 297.4 MB, free: 10.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.489e-05/0.1816, allocations: 305.1 kB / 297.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1818, allocations: 174.8 kB / 297.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1821, allocations: 0.529 MB / 298.4 MB, free: 9.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005566/0.1827, allocations: 0.8235 MB / 299.2 MB, free: 8.547 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1827, allocations: 7.938 kB / 299.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001017/0.1837, allocations: 0.9708 MB / 300.2 MB, free: 7.562 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.1837, allocations: 11.98 kB / 300.2 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1837, allocations: 12 kB / 300.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007911/0.1845, allocations: 366.7 kB / 300.6 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.1852, allocations: 355.5 kB / 300.9 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.187, allocations: 2.571 MB / 303.5 MB, free: 4.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.1875, allocations: 55.84 kB / 303.6 MB, free: 4.156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.1876, allocations: 48 kB / 303.6 MB, free: 4.109 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.0004188/0.188, allocations: 192.3 kB / 303.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.1882, allocations: 159.8 kB / 303.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008098/0.189, allocations: 0.807 MB / 304.8 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.189, allocations: 23.92 kB / 304.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.189, allocations: 8 kB / 304.8 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.189, allocations: 3.984 kB / 304.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.1915, allocations: 2.59 MB / 307.4 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1915, allocations: 0 / 307.4 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.192, allocations: 231.8 kB / 307.6 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.1924, allocations: 226.9 kB / 307.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008008/0.1932, allocations: 359.2 kB / 308.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.1932, allocations: 31.92 kB / 308.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.1953, allocations: 2.576 MB / 310.8 MB, free: 12.76 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1953, allocations: 3.938 kB / 310.8 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.1965, allocations: 1.146 MB / 311.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.1967, allocations: 24 kB / 312 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.197, allocations: 71.98 kB / 312 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.1971, allocations: 96.69 kB / 312.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.1972, allocations: 28 kB / 312.1 MB, free: 11.36 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004505/0.1976, allocations: 0.5574 MB / 312.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1976, allocations: 0 / 312.7 MB, free: 10.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001065/0.1987, allocations: 0.5351 MB / 313.2 MB, free: 10.26 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.0004137/0.1991, allocations: 228.3 kB / 313.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.2003, allocations: 0.9595 MB / 314.4 MB, free: 9.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.916e-05/0.2003, allocations: 31.12 kB / 314.5 MB, free: 9.051 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006471/0.201, allocations: 0.6313 MB / 315.1 MB, free: 8.402 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009832/0.202, allocations: 0.5262 MB / 315.6 MB, free: 7.898 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.2165, allocations: 5.071 MB / 320.7 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.2171, allocations: 0.7374 MB / 321.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007339/0.2179, allocations: 222.1 kB / 321.6 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007171/0.2186, allocations: 443.1 kB / 322.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of SimCode: time 1.843e-06/0.2186, allocations: 4 kB / 322.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of Templates: time 0.03886/0.2575, allocations: 29.12 MB / 351.2 MB, free: 4.613 MB / 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.239492972381413]