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.0009444/0.0009444, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001035/0.001035, allocations: 161.1 kB / 24.99 MB, free: 8.801 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.957/0.957, allocations: 177 MB / 205.2 MB, free: 5.586 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.152e-06/1.152e-06, allocations: 0 / 273 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.438e-05, allocations: 2.312 kB / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1301/0.1301, allocations: 27.5 MB / 300.5 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01099/0.1411, allocations: 7.175 MB / 307.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005106/0.1462, allocations: 315 kB / 308 MB, free: 9.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01337/0.1596, allocations: 14 MB / 322 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007766/0.1674, allocations: 2.684 MB / 324.7 MB, free: 14.49 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.1707, allocations: 2.052 MB / 326.7 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01516/0.1859, allocations: 19.1 MB / 345.8 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04033/0.2262, allocations: 28.21 MB / 374 MB, free: 13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02111/0.2473, allocations: 15.27 MB / 389.3 MB, free: 13.74 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01314/0.2604, allocations: 10.93 MB / 400.2 MB, free: 2.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005997/0.2664, allocations: 2.918 MB / 403.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00899/0.2754, allocations: 3.21 MB / 406.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007398/0.2828, allocations: 5.677 MB / 412 MB, free: 6.969 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01369/0.2965, allocations: 7.334 MB / 419.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2534/0.5499, allocations: 18.32 MB / 437.7 MB, free: 67.29 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.5499, allocations: 1.188 kB / 437.7 MB, free: 67.29 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5499, allocations: 0 / 437.7 MB, free: 67.29 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0008514/0.5508, allocations: 0.8125 kB / 437.7 MB, free: 67.29 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.04805/0.5988, allocations: 23.91 MB / 461.6 MB, free: 61.8 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5989, allocations: 11.67 kB / 461.6 MB, free: 61.79 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04174/0.6406, allocations: 10.67 MB / 472.3 MB, free: 59.97 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/0.6582, allocations: 11.12 MB / 483.4 MB, free: 53 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/0.6593, allocations: 1.335 MB / 484.8 MB, free: 52.39 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004977/0.6643, allocations: 1.762 MB / 486.5 MB, free: 50.86 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0399/0.7042, allocations: 15.29 MB / 0.49 GB, free: 35.47 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004011/0.7046, allocations: 19.89 kB / 0.4901 GB, free: 35.45 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00247/0.7071, allocations: 0.7327 MB / 0.4908 GB, free: 34.73 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000558/0.7076, allocations: 0.8415 MB / 0.4916 GB, free: 33.89 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02673/0.7344, allocations: 7.291 MB / 0.4987 GB, free: 26.59 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09441/0.8288, allocations: 71.44 MB / 0.5685 GB, free: 2.957 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.8399, allocations: 10.27 MB / 0.5785 GB, free: 10.73 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003702/0.8436, allocations: 2.6 MB / 0.5811 GB, free: 8.125 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.8439, allocations: 180.4 kB / 0.5812 GB, free: 7.945 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/0.844, allocations: 93.91 kB / 0.5813 GB, free: 7.84 MB / 442.8 MB Notification: Performance of pre-optimization done (n=577): time 7.013e-06/0.844, allocations: 0 / 0.5813 GB, free: 7.84 MB / 442.8 MB Notification: Performance of matching and sorting (n=577): time 0.1468/0.9907, allocations: 8.46 MB / 0.5896 GB, free: 146.2 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.9908, allocations: 136.7 kB / 0.5897 GB, free: 146.1 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01135/1.002, allocations: 6.328 MB / 0.5959 GB, free: 145.6 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008743/1.003, allocations: 119.7 kB / 0.596 GB, free: 145.6 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003843/1.007, allocations: 8.391 MB / 0.6042 GB, free: 141.5 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001683/1.009, allocations: 2.186 MB / 0.6063 GB, free: 140.2 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002685/1.011, allocations: 2.449 MB / 0.6087 GB, free: 140 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.514e-05/1.011, allocations: 476.8 kB / 0.6092 GB, free: 139.5 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003184/1.014, allocations: 1.395 MB / 0.6105 GB, free: 139.5 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005308/1.02, allocations: 8.606 MB / 0.619 GB, free: 130.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009405/1.029, allocations: 11.04 MB / 0.6297 GB, free: 121.2 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/1.029, allocations: 51.95 kB / 0.6298 GB, free: 121.2 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01464/1.044, allocations: 8.956 MB / 0.6385 GB, free: 119.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/1.044, allocations: 74.88 kB / 0.6386 GB, free: 119.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/1.044, allocations: 160.5 kB / 0.6388 GB, free: 119.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004416/1.049, allocations: 1.611 MB / 0.6403 GB, free: 119.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005552/1.054, allocations: 2.359 MB / 0.6426 GB, free: 119.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007757/1.062, allocations: 7.291 MB / 0.6497 GB, free: 116.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/1.067, allocations: 1.351 MB / 0.6511 GB, free: 115.3 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000694/1.068, allocations: 0.5409 MB / 0.6516 GB, free: 114.8 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.003737/1.072, allocations: 0.8837 MB / 0.6525 GB, free: 114.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009743/1.073, allocations: 0.8031 MB / 0.6532 GB, free: 113.5 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/1.08, allocations: 5.859 MB / 0.659 GB, free: 109 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004682/1.085, allocations: 3.408 MB / 0.6623 GB, free: 105.9 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/1.085, allocations: 12 kB / 0.6623 GB, free: 105.8 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.085, allocations: 27.98 kB / 0.6623 GB, free: 105.8 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.108, allocations: 18.29 MB / 0.6802 GB, free: 89.68 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/1.109, allocations: 8 kB / 0.6802 GB, free: 89.68 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.111, allocations: 1.019 MB / 0.6812 GB, free: 88.84 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/1.114, allocations: 1.408 MB / 0.6826 GB, free: 87.82 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000259/1.114, allocations: 135.8 kB / 0.6827 GB, free: 87.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006354/1.12, allocations: 6.932 MB / 0.6895 GB, free: 81.32 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.12, allocations: 11.94 kB / 0.6895 GB, free: 81.31 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007746/1.128, allocations: 6.359 MB / 0.6957 GB, free: 74.93 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00203/1.13, allocations: 1.283 MB / 0.6969 GB, free: 73.64 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005767/1.131, allocations: 112 kB / 0.697 GB, free: 73.54 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.132, allocations: 311.6 kB / 0.6973 GB, free: 73.23 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005382/1.133, allocations: 432.1 kB / 0.6978 GB, free: 72.8 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/1.133, allocations: 176 kB / 0.6979 GB, free: 72.63 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.003182/1.136, allocations: 2.618 MB / 0.7005 GB, free: 70.04 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.136, allocations: 0 / 0.7005 GB, free: 70.04 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008638/1.145, allocations: 4.098 MB / 0.7045 GB, free: 65.93 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.0008989/1.146, allocations: 335.7 kB / 0.7048 GB, free: 65.61 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009608/1.155, allocations: 6.552 MB / 0.7112 GB, free: 59.01 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.155, allocations: 4 kB / 0.7112 GB, free: 59 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003831/1.159, allocations: 2.753 MB / 0.7139 GB, free: 56.21 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/1.163, allocations: 1.49 MB / 0.7153 GB, free: 54.82 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03421/1.198, allocations: 24.61 MB / 0.7394 GB, free: 29.88 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004632/1.202, allocations: 4.904 MB / 0.7442 GB, free: 24.94 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005079/1.207, allocations: 3.198 MB / 0.7473 GB, free: 21.73 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/1.208, allocations: 0.5394 MB / 0.7478 GB, free: 21.19 MB / 442.8 MB Notification: Performance of SimCode: time 2.264e-06/1.208, allocations: 0 / 0.7478 GB, free: 21.19 MB / 442.8 MB Notification: Performance of Templates: time 0.2733/1.482, allocations: 90.22 MB / 0.8359 GB, free: 101.8 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.922571514034644]