Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 79.73 kB / 21.97 MB, free: 2.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 168.3 kB / 25.33 MB, free: 9.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9569/0.9569, allocations: 158.6 MB / 187.2 MB, free: 2.938 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.306e-05, allocations: 6.25 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02104/0.02108, allocations: 28.53 MB / 279.6 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.03622, allocations: 7.425 MB / 287 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006887/0.04311, allocations: 262.6 kB / 287.3 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01676/0.05987, allocations: 14.13 MB / 301.4 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.07129, allocations: 3.052 MB / 304.4 MB, free: 1.883 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005662/0.07695, allocations: 2.093 MB / 306.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01976/0.09671, allocations: 19.79 MB / 326.3 MB, free: 11.92 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3015/0.3982, allocations: 28.44 MB / 354.8 MB, free: 30.07 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02409/0.4223, allocations: 15.74 MB / 370.5 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01721/0.4395, allocations: 11.63 MB / 382.1 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008312/0.4478, allocations: 2.978 MB / 385.1 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009898/0.4577, allocations: 3.241 MB / 388.4 MB, free: 30.05 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.008721/0.4664, allocations: 5.982 MB / 394.3 MB, free: 27.79 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01395/0.4804, allocations: 7.605 MB / 401.9 MB, free: 24.79 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.02068/0.501, allocations: 18.97 MB / 420.9 MB, free: 8.66 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.501, allocations: 0 / 420.9 MB, free: 8.66 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.684e-06/0.501, allocations: 0 / 420.9 MB, free: 8.66 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0007626/0.5018, allocations: 0.8125 kB / 420.9 MB, free: 8.66 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.04058/0.5424, allocations: 24.88 MB / 445.8 MB, free: 15.86 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5424, allocations: 11.98 kB / 445.8 MB, free: 15.85 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03958/0.582, allocations: 15.35 MB / 461.2 MB, free: 0.625 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01671/0.5987, allocations: 9.752 MB / 470.9 MB, free: 7.305 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/0.6, allocations: 1.396 MB / 472.3 MB, free: 5.922 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004786/0.6048, allocations: 1.85 MB / 474.2 MB, free: 4.09 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05865/0.6635, allocations: 16.31 MB / 490.5 MB, free: 3.691 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006335/0.6641, allocations: 15.95 kB / 490.5 MB, free: 3.676 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004458/0.6686, allocations: 0.7582 MB / 491.2 MB, free: 2.934 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007353/0.6693, allocations: 0.9703 MB / 492.2 MB, free: 1.961 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0268/0.6961, allocations: 8.454 MB / 0.4889 GB, free: 9.48 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3497/1.046, allocations: 74.78 MB / 0.562 GB, free: 67.57 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/1.059, allocations: 14.5 MB / 0.5761 GB, free: 64.18 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003323/1.062, allocations: 2.829 MB / 0.5789 GB, free: 61.52 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01308/1.075, allocations: 9.28 MB / 0.5879 GB, free: 52.68 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/1.075, allocations: 80.73 kB / 0.588 GB, free: 52.59 MB / 410.9 MB Notification: Performance of pre-optimization done (n=427): time 7.634e-06/1.075, allocations: 0 / 0.588 GB, free: 52.59 MB / 410.9 MB Notification: Performance of matching and sorting (n=427): time 0.01934/1.094, allocations: 7.998 MB / 0.5958 GB, free: 44.61 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/1.094, allocations: 120.5 kB / 0.5959 GB, free: 44.47 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008419/1.103, allocations: 7.269 MB / 0.603 GB, free: 37.47 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001978/1.103, allocations: 93.7 kB / 0.6031 GB, free: 37.37 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.003909/1.107, allocations: 9.382 MB / 0.6123 GB, free: 29.45 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001092/1.108, allocations: 1.677 MB / 0.6139 GB, free: 27.85 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002697/1.111, allocations: 2.615 MB / 0.6165 GB, free: 25.23 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 3.605e-05/1.111, allocations: 480.7 kB / 0.6169 GB, free: 24.75 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/1.113, allocations: 1.411 MB / 0.6183 GB, free: 23.34 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005183/1.119, allocations: 10.06 MB / 0.6281 GB, free: 9.594 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.129, allocations: 12.5 MB / 0.6403 GB, free: 10.12 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.844e-05/1.129, allocations: 56 kB / 0.6404 GB, free: 10.06 MB / 426.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.01641/1.145, allocations: 9.694 MB / 0.6499 GB, free: 1.648 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/1.145, allocations: 88 kB / 0.65 GB, free: 1.562 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001755/1.146, allocations: 196 kB / 0.6501 GB, free: 1.371 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1433/1.289, allocations: 1.644 MB / 0.6517 GB, free: 91.89 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005445/1.294, allocations: 2.507 MB / 0.6542 GB, free: 91.89 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007111/1.301, allocations: 7.278 MB / 0.6613 GB, free: 89.86 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01196/1.313, allocations: 1.569 MB / 0.6628 GB, free: 89.86 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007461/1.314, allocations: 0.608 MB / 0.6634 GB, free: 89.86 MB / 426.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1312): * Single equations (assignments): 1309 * 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.01027/1.324, allocations: 0.9543 MB / 0.6644 GB, free: 89.7 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007033/1.331, allocations: 0.777 MB / 0.6651 GB, free: 89.7 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01851/1.35, allocations: 4.27 MB / 0.6693 GB, free: 89.43 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01655/1.366, allocations: 2.829 MB / 0.672 GB, free: 89.25 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/1.366, allocations: 13.25 kB / 0.6721 GB, free: 89.25 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.012e-05/1.366, allocations: 23.34 kB / 0.6721 GB, free: 89.25 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/1.392, allocations: 16.09 MB / 0.6878 GB, free: 88.36 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.392, allocations: 6.125 kB / 0.6878 GB, free: 88.36 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.393, allocations: 0.7659 MB / 0.6885 GB, free: 88.36 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002894/1.396, allocations: 1.395 MB / 0.6899 GB, free: 88.32 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.396, allocations: 95.78 kB / 0.69 GB, free: 88.31 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/1.402, allocations: 6.923 MB / 0.6968 GB, free: 86.07 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.402, allocations: 0 / 0.6968 GB, free: 86.07 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006168/1.409, allocations: 5.069 MB / 0.7017 GB, free: 83.34 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.41, allocations: 1.154 MB / 0.7028 GB, free: 82.63 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/1.411, allocations: 75.31 kB / 0.7029 GB, free: 82.62 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/1.412, allocations: 307 kB / 0.7032 GB, free: 82.47 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/1.412, allocations: 323.4 kB / 0.7035 GB, free: 82.36 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.413, allocations: 118.4 kB / 0.7036 GB, free: 82.27 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.003474/1.416, allocations: 2.988 MB / 0.7065 GB, free: 80.5 MB / 426.9 MB Notification: Performance of sort global known variables: time 2e-07/1.416, allocations: 0 / 0.7065 GB, free: 80.5 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.008186/1.424, allocations: 4.253 MB / 0.7107 GB, free: 77.01 MB / 426.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (381): * Single equations (assignments): 378 * 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.0005291/1.425, allocations: 267.3 kB / 0.711 GB, free: 76.86 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.007343/1.432, allocations: 6.538 MB / 0.7173 GB, free: 72.48 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.432, allocations: 4 kB / 0.7173 GB, free: 72.48 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.002204/1.434, allocations: 2.33 MB / 0.7196 GB, free: 70.5 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.437, allocations: 1.483 MB / 0.7211 GB, free: 69.29 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02901/1.466, allocations: 25.44 MB / 0.7459 GB, free: 45.98 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003146/1.47, allocations: 5.042 MB / 0.7508 GB, free: 41.21 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.004633/1.474, allocations: 3.415 MB / 0.7542 GB, free: 37.78 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008184/1.475, allocations: 0.4991 MB / 0.7547 GB, free: 37.29 MB / 426.9 MB Notification: Performance of SimCode: time 1.372e-06/1.475, allocations: 0 / 0.7547 GB, free: 37.29 MB / 426.9 MB Notification: Performance of Templates: time 0.2714/1.746, allocations: 87.81 MB / 0.8404 GB, free: 104.4 MB / 442.9 MB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/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.153064838144928]