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.001304/0.001304, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001451/0.001451, allocations: 165.5 kB / 24.91 MB, free: 8.77 MB / 18.57 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.8732/0.8732, allocations: 177 MB / 205.2 MB, free: 5.074 MB / 186.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.372e-06/1.372e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.045e-05, allocations: 2.312 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1162/0.1163, allocations: 26.53 MB / 299.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.1284, allocations: 7.624 MB / 307.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003641/0.1321, allocations: 310.6 kB / 307.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01137/0.1434, allocations: 14.02 MB / 321.9 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006197/0.1496, allocations: 2.696 MB / 324.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.1528, allocations: 2.057 MB / 326.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01384/0.1666, allocations: 19.12 MB / 345.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03277/0.1994, allocations: 29.03 MB / 374.8 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01636/0.2158, allocations: 15.37 MB / 390.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.2288, allocations: 11.37 MB / 401.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005225/0.2341, allocations: 2.918 MB / 404.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00646/0.2405, allocations: 3.202 MB / 407.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004808/0.2453, allocations: 5.681 MB / 413.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009917/0.2552, allocations: 7.326 MB / 420.6 MB, free: 14.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2075/0.4627, allocations: 18.33 MB / 439 MB, free: 68.52 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.4627, allocations: 0.5625 kB / 439 MB, free: 68.52 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4627, allocations: 1.094 kB / 439 MB, free: 68.52 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0006966/0.4634, allocations: 0 / 439 MB, free: 68.52 MB / 378.8 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.03659/0.5, allocations: 20.9 MB / 459.9 MB, free: 63.22 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5, allocations: 11.64 kB / 459.9 MB, free: 63.21 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02369/0.5237, allocations: 8.526 MB / 468.4 MB, free: 63.06 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01422/0.5379, allocations: 5.986 MB / 474.4 MB, free: 60.96 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008797/0.5388, allocations: 1.339 MB / 475.7 MB, free: 60.36 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00425/0.5431, allocations: 1.766 MB / 477.5 MB, free: 59.77 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/0.5652, allocations: 14.44 MB / 491.9 MB, free: 47.53 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002871/0.5654, allocations: 25.05 kB / 492 MB, free: 47.51 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001538/0.567, allocations: 0.7258 MB / 492.7 MB, free: 46.8 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004071/0.5674, allocations: 0.8421 MB / 493.5 MB, free: 45.95 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01101/0.5784, allocations: 6.952 MB / 0.4888 GB, free: 38.98 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05867/0.6371, allocations: 53.44 MB / 0.5409 GB, free: 3.23 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007657/0.6447, allocations: 6.621 MB / 0.5474 GB, free: 12.78 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.6472, allocations: 2.094 MB / 0.5494 GB, free: 10.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002886/0.6475, allocations: 176.4 kB / 0.5496 GB, free: 10.57 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.6476, allocations: 106.9 kB / 0.5497 GB, free: 10.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=577): time 7.384e-06/0.6476, allocations: 0 / 0.5497 GB, free: 10.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=577): time 0.01297/0.6605, allocations: 6.623 MB / 0.5562 GB, free: 3.84 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/0.6606, allocations: 133.6 kB / 0.5563 GB, free: 3.688 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/0.6643, allocations: 4.161 MB / 0.5604 GB, free: 404 kB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002534/0.6646, allocations: 117.7 kB / 0.5605 GB, free: 280 kB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002996/0.6676, allocations: 7.34 MB / 0.5677 GB, free: 9.148 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.6688, allocations: 2.071 MB / 0.5697 GB, free: 7.191 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00181/0.6706, allocations: 1.924 MB / 0.5716 GB, free: 5.461 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.6706, allocations: 305.1 kB / 0.5718 GB, free: 5.16 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001909/0.6726, allocations: 1.456 MB / 0.5733 GB, free: 3.695 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1266/0.7991, allocations: 5.722 MB / 0.5789 GB, free: 111.6 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006685/0.8058, allocations: 8.126 MB / 0.5868 GB, free: 105.7 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.713e-05/0.8059, allocations: 46.75 kB / 0.5868 GB, free: 105.7 MB / 426.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.008135/0.814, allocations: 6.724 MB / 0.5934 GB, free: 105.3 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.101e-05/0.8141, allocations: 76.12 kB / 0.5935 GB, free: 105.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001454/0.8143, allocations: 160.6 kB / 0.5936 GB, free: 105.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002904/0.8172, allocations: 1.515 MB / 0.5951 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/0.8209, allocations: 2.17 MB / 0.5972 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005088/0.826, allocations: 5.501 MB / 0.6026 GB, free: 103.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003678/0.8296, allocations: 1.178 MB / 0.6038 GB, free: 103.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/0.8302, allocations: 450.7 kB / 0.6042 GB, free: 103.8 MB / 426.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.002944/0.8331, allocations: 0.8447 MB / 0.605 GB, free: 103.7 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007818/0.8339, allocations: 0.5299 MB / 0.6055 GB, free: 103.7 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/0.8384, allocations: 4.408 MB / 0.6098 GB, free: 103.2 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00257/0.841, allocations: 2.176 MB / 0.612 GB, free: 103 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.841, allocations: 12.75 kB / 0.612 GB, free: 103 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/0.8411, allocations: 33.61 kB / 0.612 GB, free: 103 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01378/0.8548, allocations: 12.91 MB / 0.6246 GB, free: 95.84 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/0.8548, allocations: 8 kB / 0.6246 GB, free: 95.83 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.8566, allocations: 0.8356 MB / 0.6254 GB, free: 95.18 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002506/0.8591, allocations: 1.311 MB / 0.6267 GB, free: 94.29 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.8593, allocations: 120.4 kB / 0.6268 GB, free: 94.26 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.8636, allocations: 5.182 MB / 0.6319 GB, free: 89.89 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.8636, allocations: 11.75 kB / 0.6319 GB, free: 89.89 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004529/0.8681, allocations: 4.539 MB / 0.6363 GB, free: 85.93 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.8694, allocations: 0.8349 MB / 0.6371 GB, free: 85.38 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004462/0.8699, allocations: 115.2 kB / 0.6373 GB, free: 85.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.871, allocations: 145.1 kB / 0.6374 GB, free: 85.14 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003569/0.8713, allocations: 418.3 kB / 0.6378 GB, free: 84.74 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/0.8715, allocations: 120 kB / 0.6379 GB, free: 84.62 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001398/0.8729, allocations: 1.831 MB / 0.6397 GB, free: 83.04 MB / 426.8 MB Notification: Performance of sort global known variables: time 9e-08/0.8729, allocations: 7.469 kB / 0.6397 GB, free: 83.04 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.006747/0.8797, allocations: 4.102 MB / 0.6437 GB, free: 78.92 MB / 426.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.0005755/0.8802, allocations: 305 kB / 0.644 GB, free: 78.69 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004983/0.8852, allocations: 5.132 MB / 0.649 GB, free: 74.1 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001731/0.8854, allocations: 121.2 kB / 0.6491 GB, free: 73.97 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.8872, allocations: 2.195 MB / 0.6513 GB, free: 71.93 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003026/0.8902, allocations: 1.476 MB / 0.6527 GB, free: 70.55 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0241/0.9143, allocations: 24.2 MB / 0.6763 GB, free: 46.18 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/0.9168, allocations: 3.354 MB / 0.6796 GB, free: 42.79 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002704/0.9195, allocations: 1.12 MB / 0.6807 GB, free: 41.66 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002186/0.9217, allocations: 1.389 MB / 0.6821 GB, free: 40.26 MB / 426.8 MB Notification: Performance of SimCode: time 1.383e-06/0.9217, allocations: 4 kB / 0.6821 GB, free: 40.26 MB / 426.8 MB Notification: Performance of Templates: time 0.2258/1.148, allocations: 99.51 MB / 0.7792 GB, free: 106.3 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.255218327976763]