Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9896/0.9896, allocations: 173.3 MB / 201.1 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 3.938 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.144e-05, allocations: 2.312 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1514/0.1514, allocations: 27.66 MB / 295.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01528/0.1667, allocations: 7.12 MB / 302.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006769/0.1735, allocations: 311.7 kB / 303.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01594/0.1894, allocations: 14.07 MB / 317.2 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01071/0.2001, allocations: 2.827 MB / 320 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005035/0.2052, allocations: 1.878 MB / 321.9 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01826/0.2234, allocations: 18.94 MB / 340.8 MB, free: 1.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04812/0.2715, allocations: 28.19 MB / 369 MB, free: 4.992 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02834/0.2999, allocations: 15.28 MB / 384.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01704/0.3169, allocations: 10.99 MB / 395.2 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008456/0.3254, allocations: 2.918 MB / 398.2 MB, free: 7.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.3369, allocations: 3.171 MB / 401.3 MB, free: 4.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008829/0.3458, allocations: 5.677 MB / 407 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01645/0.3622, allocations: 7.33 MB / 414.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02687/0.3891, allocations: 18.31 MB / 432.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.3891, allocations: 0 / 432.7 MB, free: 5.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3891, allocations: 4 kB / 432.7 MB, free: 5.223 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001025/0.3901, allocations: 0 / 432.7 MB, free: 5.223 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.3092/0.6993, allocations: 23.9 MB / 456.6 MB, free: 91.61 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.6994, allocations: 14.69 kB / 456.6 MB, free: 91.61 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02741/0.7268, allocations: 10.85 MB / 467.4 MB, free: 83.84 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01767/0.7445, allocations: 11.1 MB / 478.5 MB, free: 73.95 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009559/0.7454, allocations: 1.339 MB / 479.9 MB, free: 72.62 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005308/0.7507, allocations: 1.761 MB / 481.6 MB, free: 70.87 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04474/0.7955, allocations: 15.24 MB / 496.9 MB, free: 55.53 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004689/0.7959, allocations: 15.94 kB / 496.9 MB, free: 55.52 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003902/0.7998, allocations: 0.7277 MB / 497.6 MB, free: 54.8 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005093/0.8003, allocations: 0.8415 MB / 498.4 MB, free: 53.95 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02794/0.8283, allocations: 7.24 MB / 0.4938 GB, free: 46.7 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1151/0.9434, allocations: 71.43 MB / 0.5636 GB, free: 7.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/0.9599, allocations: 10.24 MB / 0.5736 GB, free: 15.3 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005216/0.9652, allocations: 2.589 MB / 0.5761 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000367/0.9655, allocations: 144.5 kB / 0.5763 GB, free: 12.56 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.242e-05/0.9656, allocations: 101.6 kB / 0.5764 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=577): time 9.548e-06/0.9656, allocations: 0 / 0.5764 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=577): time 0.02291/0.9885, allocations: 8.429 MB / 0.5846 GB, free: 3.973 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.714e-05/0.9886, allocations: 133.6 kB / 0.5847 GB, free: 3.82 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3291/1.318, allocations: 6.32 MB / 0.5909 GB, free: 108.4 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.00128/1.319, allocations: 117.6 kB / 0.591 GB, free: 108.3 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00701/1.326, allocations: 8.393 MB / 0.5992 GB, free: 105.2 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.003035/1.329, allocations: 2.182 MB / 0.6013 GB, free: 103.9 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004299/1.333, allocations: 2.432 MB / 0.6037 GB, free: 103.7 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/1.333, allocations: 480.6 kB / 0.6042 GB, free: 103.3 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003254/1.337, allocations: 1.389 MB / 0.6055 GB, free: 103.2 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005001/1.342, allocations: 8.594 MB / 0.6139 GB, free: 94.52 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009418/1.351, allocations: 11 MB / 0.6247 GB, free: 85.7 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002899/1.351, allocations: 48 kB / 0.6247 GB, free: 85.7 MB / 426.9 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01518/1.367, allocations: 8.929 MB / 0.6334 GB, free: 84.97 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.367, allocations: 74.66 kB / 0.6335 GB, free: 84.97 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/1.367, allocations: 158.1 kB / 0.6336 GB, free: 84.97 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003666/1.37, allocations: 1.61 MB / 0.6352 GB, free: 84.86 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005002/1.375, allocations: 2.354 MB / 0.6375 GB, free: 84.85 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007787/1.383, allocations: 7.279 MB / 0.6446 GB, free: 82.57 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0068/1.39, allocations: 1.363 MB / 0.646 GB, free: 81.91 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/1.392, allocations: 0.5315 MB / 0.6465 GB, free: 81.91 MB / 426.9 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.005867/1.398, allocations: 0.8797 MB / 0.6473 GB, free: 81.64 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001728/1.399, allocations: 0.8052 MB / 0.6481 GB, free: 81.3 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007814/1.407, allocations: 5.88 MB / 0.6539 GB, free: 77.81 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004546/1.412, allocations: 3.366 MB / 0.6571 GB, free: 74.74 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/1.412, allocations: 12 kB / 0.6572 GB, free: 74.73 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/1.412, allocations: 26.34 kB / 0.6572 GB, free: 74.73 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03152/1.443, allocations: 18.23 MB / 0.675 GB, free: 58.74 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.979e-05/1.443, allocations: 10.77 kB / 0.675 GB, free: 58.73 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002155/1.446, allocations: 1.006 MB / 0.676 GB, free: 57.95 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003359/1.449, allocations: 1.408 MB / 0.6774 GB, free: 56.93 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004092/1.449, allocations: 128 kB / 0.6775 GB, free: 56.82 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006727/1.456, allocations: 6.937 MB / 0.6842 GB, free: 50.36 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.456, allocations: 11.38 kB / 0.6843 GB, free: 50.36 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008796/1.465, allocations: 6.315 MB / 0.6904 GB, free: 43.7 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.467, allocations: 1.274 MB / 0.6917 GB, free: 42.43 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007275/1.468, allocations: 112 kB / 0.6918 GB, free: 42.32 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/1.47, allocations: 319.6 kB / 0.6921 GB, free: 42 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005271/1.47, allocations: 423.4 kB / 0.6925 GB, free: 41.59 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/1.47, allocations: 168 kB / 0.6926 GB, free: 41.43 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.003281/1.474, allocations: 2.614 MB / 0.6952 GB, free: 38.84 MB / 426.9 MB Notification: Performance of sort global known variables: time 1.71e-07/1.474, allocations: 4 kB / 0.6952 GB, free: 38.84 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.009178/1.483, allocations: 4.111 MB / 0.6992 GB, free: 34.71 MB / 426.9 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.0009442/1.484, allocations: 328 kB / 0.6995 GB, free: 34.46 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.01002/1.494, allocations: 6.533 MB / 0.7059 GB, free: 28.34 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.494, allocations: 4 kB / 0.7059 GB, free: 28.34 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.003777/1.498, allocations: 2.736 MB / 0.7086 GB, free: 25.68 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/1.502, allocations: 1.47 MB / 0.71 GB, free: 24.29 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04117/1.544, allocations: 24.75 MB / 0.7342 GB, free: 15.21 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01151/1.555, allocations: 4.904 MB / 0.739 GB, free: 10.27 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 0.008231/1.563, allocations: 3.198 MB / 0.7421 GB, free: 7.062 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/1.565, allocations: 0.5121 MB / 0.7426 GB, free: 6.547 MB / 442.9 MB Notification: Performance of SimCode: time 2.474e-06/1.565, allocations: 0 / 0.7426 GB, free: 6.547 MB / 442.9 MB Notification: Performance of Templates: time 0.2521/1.818, allocations: 89.26 MB / 0.8298 GB, free: 62.35 MB / 442.9 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 6.4722610409371555]