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.0009822/0.0009822, allocations: 82.28 kB / 22.21 MB, free: 2.289 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.001259/0.001259, allocations: 141.2 kB / 25.59 MB, free: 8.906 MB / 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.9466/0.9466, allocations: 173.4 MB / 202.2 MB, free: 8.301 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.954e-06/1.954e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.027e-05/3.222e-05, allocations: 2.312 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02265/0.02268, allocations: 26.49 MB / 295.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.0346, allocations: 7.095 MB / 302.8 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/0.03741, allocations: 310.4 kB / 303.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.04975, allocations: 13.62 MB / 316.7 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004882/0.05463, allocations: 2.818 MB / 319.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.05705, allocations: 1.878 MB / 321.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01348/0.07053, allocations: 18.94 MB / 340.4 MB, free: 2.359 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2351/0.3057, allocations: 28.2 MB / 368.6 MB, free: 12.74 MB / 314.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01343/0.3191, allocations: 15.27 MB / 383.8 MB, free: 6.215 MB / 314.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009918/0.329, allocations: 11.18 MB / 395 MB, free: 260 kB / 314.8 MB Notification: Performance of NFPackage.collectConstants: time 0.004671/0.3337, allocations: 3.03 MB / 398 MB, free: 13.56 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003585/0.3373, allocations: 3.174 MB / 401.2 MB, free: 10.43 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.003355/0.3406, allocations: 5.678 MB / 406.9 MB, free: 5.75 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.007747/0.3484, allocations: 7.335 MB / 414.2 MB, free: 15.09 MB / 346.8 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.3624, allocations: 18.3 MB / 432.5 MB, free: 13.93 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3624, allocations: 0 / 432.5 MB, free: 13.93 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3624, allocations: 0 / 432.5 MB, free: 13.93 MB / 362.8 MB Notification: Performance of Transformations before backend: time 0.000298/0.3627, allocations: 1.469 kB / 432.5 MB, free: 13.93 MB / 362.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.03087/0.3936, allocations: 22.55 MB / 455.1 MB, free: 8.32 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.3936, allocations: 12.03 kB / 455.1 MB, free: 8.309 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/0.415, allocations: 8.387 MB / 463.5 MB, free: 4 kB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.4281, allocations: 10.29 MB / 473.8 MB, free: 6.117 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/0.4292, allocations: 1.342 MB / 475.1 MB, free: 4.781 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002309/0.4315, allocations: 1.761 MB / 476.9 MB, free: 3.035 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02487/0.4563, allocations: 14.01 MB / 490.9 MB, free: 5.672 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003213/0.4567, allocations: 19.73 kB / 490.9 MB, free: 5.656 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001551/0.4582, allocations: 0.731 MB / 491.6 MB, free: 4.938 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006989/0.4589, allocations: 0.8454 MB / 492.5 MB, free: 4.09 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2456/0.7045, allocations: 5.689 MB / 498.2 MB, free: 91.08 MB / 410.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06012/0.7647, allocations: 70.29 MB / 0.5551 GB, free: 59.28 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006957/0.7716, allocations: 8.922 MB / 0.5638 GB, free: 55.21 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002167/0.7738, allocations: 2.32 MB / 0.5661 GB, free: 52.94 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002231/0.774, allocations: 144.5 kB / 0.5662 GB, free: 52.8 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.774, allocations: 101.3 kB / 0.5663 GB, free: 52.69 MB / 410.9 MB Notification: Performance of pre-optimization done (n=577): time 6.612e-06/0.7741, allocations: 0 / 0.5663 GB, free: 52.69 MB / 410.9 MB Notification: Performance of matching and sorting (n=577): time 0.01234/0.7864, allocations: 7.745 MB / 0.5739 GB, free: 44.91 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.7864, allocations: 141.6 kB / 0.574 GB, free: 44.75 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004334/0.7908, allocations: 6.221 MB / 0.5801 GB, free: 39.59 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.791, allocations: 113.7 kB / 0.5802 GB, free: 39.48 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002486/0.7935, allocations: 8.409 MB / 0.5884 GB, free: 32.32 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/0.7943, allocations: 2.198 MB / 0.5906 GB, free: 30.23 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/0.7961, allocations: 2.457 MB / 0.593 GB, free: 27.97 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 3.096e-05/0.7961, allocations: 480.7 kB / 0.5934 GB, free: 27.5 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.7972, allocations: 1.066 MB / 0.5945 GB, free: 26.43 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002753/0.8, allocations: 8.318 MB / 0.6026 GB, free: 15.36 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004928/0.8049, allocations: 10.52 MB / 0.6129 GB, free: 2.629 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.891e-05/0.8049, allocations: 48 kB / 0.6129 GB, free: 2.582 MB / 410.9 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.008683/0.8136, allocations: 8.158 MB / 0.6209 GB, free: 11.41 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 7.676e-05/0.8137, allocations: 75.98 kB / 0.621 GB, free: 11.33 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.8138, allocations: 162.5 kB / 0.6211 GB, free: 11.18 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003124/0.8169, allocations: 1.574 MB / 0.6226 GB, free: 9.609 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003927/0.8209, allocations: 2.188 MB / 0.6248 GB, free: 7.602 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00625/0.8271, allocations: 6.926 MB / 0.6315 GB, free: 0.7773 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/0.8309, allocations: 1.19 MB / 0.6327 GB, free: 15.58 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004762/0.8314, allocations: 460 kB / 0.6332 GB, free: 15.13 MB / 442.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.003151/0.8346, allocations: 0.8775 MB / 0.634 GB, free: 14.42 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008147/0.8354, allocations: 0.8084 MB / 0.6348 GB, free: 13.61 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005956/0.8413, allocations: 5.45 MB / 0.6401 GB, free: 8.375 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003418/0.8448, allocations: 2.907 MB / 0.643 GB, free: 5.445 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.8448, allocations: 15.94 kB / 0.643 GB, free: 5.43 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/0.8448, allocations: 31.88 kB / 0.643 GB, free: 5.398 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1698/1.015, allocations: 17.35 MB / 0.6599 GB, free: 100.6 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.015, allocations: 9.609 kB / 0.66 GB, free: 100.6 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.016, allocations: 0.8491 MB / 0.6608 GB, free: 100.6 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/1.019, allocations: 1.381 MB / 0.6621 GB, free: 100.6 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/1.02, allocations: 123.5 kB / 0.6623 GB, free: 100.6 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005766/1.025, allocations: 6.576 MB / 0.6687 GB, free: 98.59 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.025, allocations: 13.88 kB / 0.6687 GB, free: 98.59 MB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/1.032, allocations: 5.597 MB / 0.6742 GB, free: 97.34 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001787/1.034, allocations: 1.147 MB / 0.6753 GB, free: 97.11 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004784/1.034, allocations: 117.8 kB / 0.6754 GB, free: 97.1 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.035, allocations: 151 kB / 0.6755 GB, free: 97.1 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004603/1.036, allocations: 421.6 kB / 0.6759 GB, free: 97.09 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/1.036, allocations: 129.2 kB / 0.6761 GB, free: 97.09 MB / 442.9 MB Notification: Performance of sorting global known variables: time 0.002773/1.039, allocations: 2.43 MB / 0.6784 GB, free: 96.86 MB / 442.9 MB Notification: Performance of sort global known variables: time 1.6e-07/1.039, allocations: 0 / 0.6784 GB, free: 96.86 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.007416/1.046, allocations: 4.107 MB / 0.6824 GB, free: 96.26 MB / 442.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.0006043/1.047, allocations: 338.9 kB / 0.6828 GB, free: 96.17 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.006476/1.053, allocations: 5.986 MB / 0.6886 GB, free: 95.58 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.053, allocations: 0 / 0.6886 GB, free: 95.58 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/1.056, allocations: 2.522 MB / 0.6911 GB, free: 95.21 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.059, allocations: 1.488 MB / 0.6925 GB, free: 94.65 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0271/1.086, allocations: 24.54 MB / 0.7165 GB, free: 74.82 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003269/1.089, allocations: 4.911 MB / 0.7213 GB, free: 72.58 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 0.002905/1.092, allocations: 1.118 MB / 0.7224 GB, free: 71.71 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/1.095, allocations: 1.502 MB / 0.7238 GB, free: 70.44 MB / 442.9 MB Notification: Performance of SimCode: time 1.272e-06/1.095, allocations: 0 / 0.7238 GB, free: 70.44 MB / 442.9 MB Notification: Performance of Templates: time 0.2554/1.35, allocations: 99.34 MB / 0.8208 GB, free: 122.6 MB / 458.9 MB " [Timeout remaining time 659] 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.19054897967726]