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.0009467/0.0009467, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001017/0.001017, allocations: 164.6 kB / 25.7 MB, free: 8.398 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.8907/0.8907, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.623e-06/1.623e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.792e-05/1.955e-05, allocations: 2.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.01899/0.01901, allocations: 27.44 MB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01334/0.03235, allocations: 7.881 MB / 286.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003308/0.03566, allocations: 266.6 kB / 287.2 MB, free: 3.484 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01335/0.04901, allocations: 13.99 MB / 301.1 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006918/0.05592, allocations: 3.044 MB / 304.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002915/0.05884, allocations: 2.081 MB / 306.3 MB, free: 296 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01426/0.0731, allocations: 19.8 MB / 326.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2827/0.3558, allocations: 29.23 MB / 355.3 MB, free: 31.06 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/0.3727, allocations: 15.83 MB / 371.1 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01222/0.3849, allocations: 11.85 MB / 383 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0045/0.3894, allocations: 2.973 MB / 386 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.3928, allocations: 3.257 MB / 389.2 MB, free: 31.05 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002441/0.3953, allocations: 5.986 MB / 395.2 MB, free: 28.73 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.005364/0.4006, allocations: 7.601 MB / 402.8 MB, free: 24.05 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.414, allocations: 18.97 MB / 421.8 MB, free: 7.578 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.414, allocations: 0 / 421.8 MB, free: 7.578 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.323e-06/0.414, allocations: 0 / 421.8 MB, free: 7.578 MB / 330.8 MB Notification: Performance of Transformations before backend: time 0.0005208/0.4145, allocations: 4.312 kB / 421.8 MB, free: 7.578 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.02784/0.4423, allocations: 21.84 MB / 443.6 MB, free: 2.887 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4424, allocations: 11.98 kB / 443.6 MB, free: 2.875 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03135/0.4737, allocations: 11.94 MB / 455.6 MB, free: 7.352 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01/0.4837, allocations: 5.083 MB / 460.6 MB, free: 2.688 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000628/0.4844, allocations: 1.403 MB / 462.1 MB, free: 1.301 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001944/0.4863, allocations: 1.842 MB / 463.9 MB, free: 15.48 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/0.5034, allocations: 15.35 MB / 479.2 MB, free: 0.8242 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002348/0.5036, allocations: 11.31 kB / 479.3 MB, free: 0.8164 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.5048, allocations: 0.7688 MB / 480 MB, free: 68 kB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005646/0.5054, allocations: 0.9664 MB / 481 MB, free: 15.1 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.5164, allocations: 7.764 MB / 488.8 MB, free: 7.289 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3002/0.8166, allocations: 55.95 MB / 0.5319 GB, free: 73.3 MB / 410.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008496/0.825, allocations: 8.598 MB / 0.5403 GB, free: 72.57 MB / 410.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.8273, allocations: 2.28 MB / 0.5426 GB, free: 72.43 MB / 410.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01214/0.8394, allocations: 6.948 MB / 0.5493 GB, free: 71.61 MB / 410.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.8395, allocations: 79.5 kB / 0.5494 GB, free: 71.57 MB / 410.9 MB Notification: Performance of pre-optimization done (n=427): time 7.003e-06/0.8395, allocations: 0 / 0.5494 GB, free: 71.57 MB / 410.9 MB Notification: Performance of matching and sorting (n=427): time 0.01624/0.8557, allocations: 6.548 MB / 0.5558 GB, free: 70.91 MB / 410.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.8557, allocations: 123.2 kB / 0.5559 GB, free: 70.81 MB / 410.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004058/0.8598, allocations: 4.916 MB / 0.5607 GB, free: 70.12 MB / 410.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0001981/0.86, allocations: 93.73 kB / 0.5608 GB, free: 70.09 MB / 410.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.01166/0.8717, allocations: 8.308 MB / 0.5689 GB, free: 65.23 MB / 410.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007417/0.8724, allocations: 1.61 MB / 0.5705 GB, free: 64.11 MB / 410.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01107/0.8835, allocations: 2.071 MB / 0.5725 GB, free: 63.16 MB / 410.9 MB Notification: Performance of setup shared object (initialization): time 2.372e-05/0.8835, allocations: 305.1 kB / 0.5728 GB, free: 62.86 MB / 410.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.8854, allocations: 1.48 MB / 0.5743 GB, free: 61.77 MB / 410.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/0.8973, allocations: 6.728 MB / 0.5808 GB, free: 53.09 MB / 410.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02401/0.9213, allocations: 9.153 MB / 0.5898 GB, free: 43.09 MB / 410.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.723e-05/0.9214, allocations: 56 kB / 0.5898 GB, free: 43.04 MB / 410.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.007115/0.9285, allocations: 7.376 MB / 0.597 GB, free: 37.62 MB / 410.9 MB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/0.9286, allocations: 91.94 kB / 0.5971 GB, free: 37.53 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/0.9287, allocations: 200 kB / 0.5973 GB, free: 37.33 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/0.9314, allocations: 1.556 MB / 0.5988 GB, free: 35.82 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/0.9351, allocations: 2.418 MB / 0.6012 GB, free: 33.69 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004716/0.9398, allocations: 5.588 MB / 0.6067 GB, free: 29.46 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004135/0.944, allocations: 1.353 MB / 0.608 GB, free: 28.27 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004474/0.9444, allocations: 0.5051 MB / 0.6085 GB, free: 27.85 MB / 410.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.003012/0.9474, allocations: 0.9025 MB / 0.6093 GB, free: 27.41 MB / 410.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005667/0.948, allocations: 489.7 kB / 0.6098 GB, free: 26.99 MB / 410.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.9513, allocations: 3.201 MB / 0.6129 GB, free: 24.4 MB / 410.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001912/0.9532, allocations: 1.834 MB / 0.6147 GB, free: 22.63 MB / 410.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.9532, allocations: 12 kB / 0.6147 GB, free: 22.62 MB / 410.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.9532, allocations: 23.91 kB / 0.6148 GB, free: 22.59 MB / 410.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.9645, allocations: 10.7 MB / 0.6252 GB, free: 15.04 MB / 410.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.9645, allocations: 4.062 kB / 0.6252 GB, free: 15.04 MB / 410.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.9661, allocations: 0.6508 MB / 0.6259 GB, free: 14.45 MB / 410.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.9686, allocations: 1.309 MB / 0.6271 GB, free: 13.18 MB / 410.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/0.9688, allocations: 80.73 kB / 0.6272 GB, free: 13.16 MB / 410.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004411/0.9732, allocations: 5.213 MB / 0.6323 GB, free: 8.547 MB / 410.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9732, allocations: 7.984 kB / 0.6323 GB, free: 8.539 MB / 410.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003645/0.9768, allocations: 3.546 MB / 0.6358 GB, free: 5.078 MB / 410.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.9778, allocations: 0.7485 MB / 0.6365 GB, free: 4.324 MB / 410.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004024/0.9782, allocations: 75.98 kB / 0.6366 GB, free: 4.25 MB / 410.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.9792, allocations: 120 kB / 0.6367 GB, free: 4.133 MB / 410.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003409/0.9795, allocations: 315.2 kB / 0.637 GB, free: 3.828 MB / 410.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.9797, allocations: 79.98 kB / 0.6371 GB, free: 3.75 MB / 410.9 MB Notification: Performance of sorting global known variables: time 0.001433/0.9811, allocations: 2.125 MB / 0.6391 GB, free: 1.895 MB / 410.9 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9811, allocations: 0 / 0.6391 GB, free: 1.895 MB / 410.9 MB Notification: Performance of remove unused functions: time 0.006631/0.9877, allocations: 4.256 MB / 0.6433 GB, free: 13.62 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.0004736/0.9882, allocations: 260.4 kB / 0.6435 GB, free: 13.42 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.005326/0.9935, allocations: 5.18 MB / 0.6486 GB, free: 8.926 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 0.0002086/0.9937, allocations: 132.2 kB / 0.6487 GB, free: 8.789 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.001877/0.9956, allocations: 1.857 MB / 0.6505 GB, free: 7.043 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002958/0.9986, allocations: 1.464 MB / 0.652 GB, free: 5.586 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.139/1.138, allocations: 25.16 MB / 0.6765 GB, free: 103.3 MB / 426.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00452/1.142, allocations: 3.464 MB / 0.6799 GB, free: 102.9 MB / 426.9 MB Notification: Performance of simCode: alias equations: time 0.005145/1.147, allocations: 1.169 MB / 0.6811 GB, free: 102.7 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003469/1.151, allocations: 1.339 MB / 0.6824 GB, free: 102.6 MB / 426.9 MB Notification: Performance of SimCode: time 2.384e-06/1.151, allocations: 0 / 0.6824 GB, free: 102.6 MB / 426.9 MB Notification: Performance of Templates: time 0.1314/1.282, allocations: 92.68 MB / 0.7729 GB, free: 25.14 MB / 426.9 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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: 5.459973102901131]