Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007734/0.0007734, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.001903, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002466, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9244/0.9244, allocations: 158.6 MB / 171.1 MB, free: 2.586 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.151/1.075, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.257e-05, allocations: 2.312 kB / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench): time 0.00623/0.006242, allocations: 7.474 MB / 229.3 MB, free: 8.637 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00356/0.009802, allocations: 2.823 MB / 232.1 MB, free: 5.805 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004369/0.01024, allocations: 75.38 kB / 232.2 MB, free: 5.73 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.01102, allocations: 0.5897 MB / 232.8 MB, free: 5.137 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.01209, allocations: 0.7956 MB / 233.6 MB, free: 4.336 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.01262, allocations: 447.2 kB / 234 MB, free: 3.898 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.01522, allocations: 3.552 MB / 237.6 MB, free: 340 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/0.01668, allocations: 1.903 MB / 239.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.01969, allocations: 3.049 MB / 242.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001606/0.0213, allocations: 1.871 MB / 244.4 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.02168, allocations: 452 kB / 244.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007303/0.02241, allocations: 0.6479 MB / 245.5 MB, free: 8.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006444/0.02306, allocations: 1.029 MB / 246.5 MB, free: 7.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009903/0.02405, allocations: 1.104 MB / 247.6 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.0267, allocations: 3.069 MB / 250.7 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.0267, allocations: 4 kB / 250.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.0267, allocations: 0 / 250.7 MB, free: 3.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.02674, allocations: 4 kB / 250.7 MB, free: 3.113 MB / 250.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.003452/0.03019, allocations: 4.174 MB / 254.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.444e-05/0.03022, allocations: 8.031 kB / 254.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/0.0309, allocations: 0.5952 MB / 255.5 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.03225, allocations: 1.208 MB / 256.7 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.03243, allocations: 218.2 kB / 256.9 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002568/0.03268, allocations: 284.4 kB / 257.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.035, allocations: 2.353 MB / 259.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.522e-05/0.03504, allocations: 0 / 259.5 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.0352, allocations: 120 kB / 259.7 MB, free: 9.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-05/0.0353, allocations: 145.9 kB / 259.8 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.03644, allocations: 0.8216 MB / 260.6 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.04331, allocations: 6.494 MB / 267.1 MB, free: 2.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.04409, allocations: 0.7859 MB / 267.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008805/0.04497, allocations: 0.7422 MB / 268.6 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.0451, allocations: 52.97 kB / 268.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.04513, allocations: 51.55 kB / 268.7 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 2.335e-06/0.04513, allocations: 0 / 268.7 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.002815/0.04794, allocations: 1.926 MB / 270.7 MB, free: 14.67 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.04797, allocations: 68.72 kB / 270.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007462/0.04872, allocations: 1.081 MB / 271.8 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.87e-05/0.04878, allocations: 53.69 kB / 271.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.04924, allocations: 1.152 MB / 273 MB, free: 12.28 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.04946, allocations: 475.8 kB / 273.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.04971, allocations: 255.4 kB / 273.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.04978, allocations: 301.1 kB / 274 MB, free: 11.26 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002304/0.05001, allocations: 178.8 kB / 274.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003876/0.05039, allocations: 0.5457 MB / 274.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.0511, allocations: 0.8354 MB / 275.6 MB, free: 9.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.05111, allocations: 4 kB / 275.6 MB, free: 9.395 MB / 282.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.001294/0.0524, allocations: 0.9645 MB / 276.6 MB, free: 8.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.05242, allocations: 8 kB / 276.6 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.05243, allocations: 12 kB / 276.6 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007819/0.05321, allocations: 377.2 kB / 276.9 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.05393, allocations: 343.5 kB / 277.3 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002144/0.05608, allocations: 2.56 MB / 279.8 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.05644, allocations: 55.94 kB / 279.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.898e-05/0.05651, allocations: 51.97 kB / 279.9 MB, free: 4.926 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0003447/0.05686, allocations: 200.2 kB / 280.1 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/0.05706, allocations: 155.8 kB / 280.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008765/0.05794, allocations: 0.8031 MB / 281.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.05796, allocations: 20 kB / 281.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.05796, allocations: 7.938 kB / 281.1 MB, free: 3.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.05797, allocations: 15.97 kB / 281.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.06073, allocations: 2.59 MB / 283.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.06073, allocations: 0 / 283.7 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.06126, allocations: 235.9 kB / 284 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.06153, allocations: 210.8 kB / 284.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007433/0.06228, allocations: 371.5 kB / 284.5 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.06233, allocations: 35.92 kB / 284.6 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.117/0.1794, allocations: 2.576 MB / 287.1 MB, free: 46.51 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1794, allocations: 3.578 kB / 287.1 MB, free: 46.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.1812, allocations: 1.156 MB / 288.3 MB, free: 46.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.1814, allocations: 32.7 kB / 288.3 MB, free: 46.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004177/0.1818, allocations: 59.62 kB / 288.4 MB, free: 46.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.1819, allocations: 97.03 kB / 288.5 MB, free: 46.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-05/0.182, allocations: 29.73 kB / 288.5 MB, free: 46.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006946/0.1827, allocations: 0.5563 MB / 289.1 MB, free: 46.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1827, allocations: 0 / 289.1 MB, free: 46.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001668/0.1844, allocations: 0.5367 MB / 289.6 MB, free: 46.17 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (103): * Single equations (assignments): 98 * 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.000399/0.1848, allocations: 212 kB / 289.8 MB, free: 46.1 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.186, allocations: 0.9575 MB / 290.8 MB, free: 45.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.182e-05/0.186, allocations: 32.12 kB / 290.8 MB, free: 45.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007074/0.1867, allocations: 0.6441 MB / 291.4 MB, free: 45.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.1877, allocations: 0.5359 MB / 292 MB, free: 45.74 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.202, allocations: 5.074 MB / 297.1 MB, free: 43.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.2026, allocations: 0.7311 MB / 297.8 MB, free: 43.65 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005612/0.2032, allocations: 223.3 kB / 298 MB, free: 43.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.2038, allocations: 440.2 kB / 298.4 MB, free: 43.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2038, allocations: 0 / 298.4 MB, free: 43.55 MB / 282.7 MB Notification: Performance of Templates: time 0.03769/0.2415, allocations: 29.1 MB / 327.5 MB, free: 19.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.321108488366008]