Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.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.0007188/0.0007188, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001034/0.001753, 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.0009252/0.0009252, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01364/0.01456, 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.9228/0.9228, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07853/1.001, allocations: 53.87 MB / 243.9 MB, free: 14.83 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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.995e-06/9.007e-06, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.01749/0.0175, allocations: 26.76 MB / 272 MB, free: 2.656 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1426, allocations: 7.669 MB / 279.6 MB, free: 448 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.1455, allocations: 312.3 kB / 279.9 MB, free: 448 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01477/0.1602, allocations: 13.95 MB / 293.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006445/0.1667, allocations: 2.661 MB / 296.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.1702, allocations: 2.046 MB / 298.6 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.1855, allocations: 19.24 MB / 317.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03318/0.2187, allocations: 28.43 MB / 346.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01735/0.236, allocations: 15.68 MB / 361.9 MB, free: 3.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01353/0.2495, allocations: 11.33 MB / 373.3 MB, free: 8.469 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005411/0.255, allocations: 2.922 MB / 376.2 MB, free: 5.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005447/0.2604, allocations: 3.218 MB / 379.4 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002722/0.2631, allocations: 4.476 MB / 383.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008792/0.2719, allocations: 6.127 MB / 390 MB, free: 7.727 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01498/0.2869, allocations: 17.36 MB / 407.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.182e-05/0.2869, allocations: 0 / 407.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2869, allocations: 0 / 407.4 MB, free: 6.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006006/0.2875, allocations: 0 / 407.4 MB, free: 6.367 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.2912/0.5787, allocations: 24.38 MB / 431.7 MB, free: 94.66 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.5788, allocations: 9.625 kB / 431.8 MB, free: 94.66 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03131/0.6101, allocations: 8.516 MB / 440.3 MB, free: 94.62 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01173/0.6218, allocations: 5.984 MB / 446.3 MB, free: 93.33 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007122/0.6225, allocations: 1.339 MB / 447.6 MB, free: 93.29 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/0.6251, allocations: 1.767 MB / 449.4 MB, free: 92.96 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.6407, allocations: 14.45 MB / 463.8 MB, free: 87.82 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002676/0.641, allocations: 13.16 kB / 463.8 MB, free: 87.82 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/0.6421, allocations: 0.7265 MB / 464.6 MB, free: 87.25 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004069/0.6425, allocations: 0.8172 MB / 465.4 MB, free: 86.56 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009756/0.6523, allocations: 6.952 MB / 472.3 MB, free: 79.59 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05389/0.7062, allocations: 53.75 MB / 0.5137 GB, free: 27.53 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006098/0.7123, allocations: 6.649 MB / 0.5202 GB, free: 21.01 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0021/0.7144, allocations: 2.095 MB / 0.5223 GB, free: 18.97 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.7146, allocations: 172.4 kB / 0.5224 GB, free: 18.8 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.7147, allocations: 99.08 kB / 0.5225 GB, free: 18.69 MB / 394.8 MB Notification: Performance of pre-optimization done (n=577): time 7.103e-06/0.7147, allocations: 0 / 0.5225 GB, free: 18.69 MB / 394.8 MB Notification: Performance of matching and sorting (n=577): time 0.01138/0.7261, allocations: 6.643 MB / 0.529 GB, free: 12.06 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.7261, allocations: 115.2 kB / 0.5291 GB, free: 11.93 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/0.7293, allocations: 4.151 MB / 0.5332 GB, free: 8.648 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002244/0.7295, allocations: 117.7 kB / 0.5333 GB, free: 8.527 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.7313, allocations: 7.336 MB / 0.5405 GB, free: 1.406 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001039/0.7324, allocations: 2.084 MB / 0.5425 GB, free: 15.43 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002008/0.7344, allocations: 1.918 MB / 0.5444 GB, free: 13.71 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.7344, allocations: 309 kB / 0.5447 GB, free: 13.41 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/0.7362, allocations: 1.452 MB / 0.5461 GB, free: 11.95 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003664/0.7399, allocations: 5.724 MB / 0.5517 GB, free: 4.32 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006616/0.7465, allocations: 8.606 MB / 0.5601 GB, free: 10.3 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.564e-05/0.7466, allocations: 48 kB / 0.5601 GB, free: 10.25 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.008039/0.7546, allocations: 6.726 MB / 0.5667 GB, free: 4.539 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.702e-05/0.7547, allocations: 75.98 kB / 0.5668 GB, free: 4.465 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001677/0.7549, allocations: 160.5 kB / 0.5669 GB, free: 4.305 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.7579, allocations: 1.541 MB / 0.5684 GB, free: 2.777 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00436/0.7623, allocations: 2.469 MB / 0.5708 GB, free: 404 kB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005239/0.7675, allocations: 5.565 MB / 0.5763 GB, free: 10.85 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003485/0.771, allocations: 1.18 MB / 0.5774 GB, free: 9.66 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007277/0.7718, allocations: 448 kB / 0.5779 GB, free: 9.223 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002801/0.7746, allocations: 0.84 MB / 0.5787 GB, free: 8.367 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007506/0.7753, allocations: 0.5268 MB / 0.5792 GB, free: 7.84 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.7801, allocations: 4.414 MB / 0.5835 GB, free: 3.629 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002855/0.783, allocations: 2.176 MB / 0.5856 GB, free: 1.402 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.783, allocations: 12 kB / 0.5856 GB, free: 1.391 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.26e-05/0.783, allocations: 31.88 kB / 0.5857 GB, free: 1.359 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1583/0.9413, allocations: 12.91 MB / 0.5983 GB, free: 118.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.9414, allocations: 6.938 kB / 0.5983 GB, free: 118.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/0.9435, allocations: 0.9935 MB / 0.5993 GB, free: 118.7 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.9452, allocations: 0.8332 MB / 0.6001 GB, free: 118.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002732/0.9479, allocations: 1.345 MB / 0.6014 GB, free: 118.7 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.9481, allocations: 119.3 kB / 0.6015 GB, free: 118.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004657/0.9528, allocations: 5.159 MB / 0.6065 GB, free: 117.3 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.9528, allocations: 17.3 kB / 0.6065 GB, free: 117.3 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004533/0.9573, allocations: 4.55 MB / 0.611 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006528/0.958, allocations: 112.8 kB / 0.6111 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.9592, allocations: 145 kB / 0.6112 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/0.9596, allocations: 413.6 kB / 0.6116 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/0.9598, allocations: 123.2 kB / 0.6118 GB, free: 116.2 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001475/0.9613, allocations: 1.835 MB / 0.6135 GB, free: 116.1 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.9613, allocations: 0 / 0.6135 GB, free: 116.1 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.006508/0.9678, allocations: 4.106 MB / 0.6176 GB, free: 115.3 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006514/0.9685, allocations: 322.5 kB / 0.6179 GB, free: 115.3 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.005606/0.9741, allocations: 5.295 MB / 0.623 GB, free: 114.6 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002357/0.9743, allocations: 172.2 kB / 0.6232 GB, free: 114.5 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005063/0.9794, allocations: 4.823 MB / 0.6279 GB, free: 114 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00517/0.9845, allocations: 11.54 MB / 0.6392 GB, free: 103.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08574/1.07, allocations: 24.63 MB / 0.6632 GB, free: 80.8 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/1.074, allocations: 3.452 MB / 0.6666 GB, free: 78.48 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.00333/1.077, allocations: 1.04 MB / 0.6676 GB, free: 77.69 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/1.08, allocations: 1.262 MB / 0.6688 GB, free: 76.56 MB / 442.8 MB Notification: Performance of SimCode: time 1.303e-06/1.08, allocations: 0 / 0.6688 GB, free: 76.56 MB / 442.8 MB Notification: Performance of Templates: time 0.2451/1.325, allocations: 99.66 MB / 0.7662 GB, free: 104.1 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/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: 5.278993938118219]