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.001977/0.001977, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.002019/0.002019, allocations: 167.8 kB / 25.03 MB, free: 8.379 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 1.353/1.353, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.272e-06/1.272e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.238e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.038/0.03803, allocations: 28.32 MB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01691/0.05494, allocations: 7.433 MB / 286.1 MB, free: 3.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005063/0.06, allocations: 262.6 kB / 286.4 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03392/0.09392, allocations: 14.06 MB / 300.4 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01144/0.1054, allocations: 3.032 MB / 303.5 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006293/0.1117, allocations: 2.112 MB / 305.6 MB, free: 388 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.02782/0.1395, allocations: 19.77 MB / 325.4 MB, free: 12.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3283/0.4678, allocations: 28.44 MB / 353.8 MB, free: 29.61 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02551/0.4933, allocations: 15.73 MB / 369.5 MB, free: 29.59 MB / 330.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0189/0.5122, allocations: 11.41 MB / 380.9 MB, free: 29.59 MB / 330.8 MB Notification: Performance of NFPackage.collectConstants: time 0.008403/0.5206, allocations: 2.975 MB / 383.9 MB, free: 29.59 MB / 330.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/0.5311, allocations: 3.247 MB / 387.2 MB, free: 29.59 MB / 330.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009519/0.5406, allocations: 5.977 MB / 393.1 MB, free: 27.34 MB / 330.8 MB Notification: Performance of NFVerifyModel.verify: time 0.01699/0.5576, allocations: 7.601 MB / 400.7 MB, free: 24.34 MB / 330.8 MB Notification: Performance of NFConvertDAE.convert: time 0.03993/0.5975, allocations: 40.43 MB / 441.2 MB, free: 2.969 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5975, allocations: 0 / 441.2 MB, free: 2.969 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5975, allocations: 0.8125 kB / 441.2 MB, free: 2.969 MB / 346.8 MB Notification: Performance of Transformations before backend: time 0.001132/0.5986, allocations: 0 / 441.2 MB, free: 2.969 MB / 346.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.0782/0.6768, allocations: 26.69 MB / 467.9 MB, free: 8.352 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.6769, allocations: 15.64 kB / 467.9 MB, free: 8.34 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07674/0.7536, allocations: 15.36 MB / 483.2 MB, free: 9.109 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02887/0.7825, allocations: 9.745 MB / 493 MB, free: 15.79 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001833/0.7843, allocations: 1.408 MB / 494.4 MB, free: 14.4 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006946/0.7913, allocations: 1.838 MB / 496.2 MB, free: 12.59 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3197/1.111, allocations: 31.86 MB / 0.5157 GB, free: 122.5 MB / 410.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000895/1.112, allocations: 16.12 kB / 0.5157 GB, free: 122.5 MB / 410.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005785/1.118, allocations: 0.7636 MB / 0.5165 GB, free: 121.9 MB / 410.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009161/1.119, allocations: 0.9666 MB / 0.5174 GB, free: 121.8 MB / 410.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04841/1.167, allocations: 24.91 MB / 0.5417 GB, free: 104.9 MB / 410.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3837/1.551, allocations: 171.1 MB / 0.7088 GB, free: 80.92 MB / 426.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02552/1.576, allocations: 16.18 MB / 0.7246 GB, free: 79.87 MB / 426.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008047/1.584, allocations: 4.971 MB / 0.7295 GB, free: 78.89 MB / 426.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02647/1.611, allocations: 13.59 MB / 0.7427 GB, free: 71.3 MB / 426.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.21e-05/1.611, allocations: 81.11 kB / 0.7428 GB, free: 71.22 MB / 426.9 MB Notification: Performance of pre-optimization done (n=427): time 1.375e-05/1.611, allocations: 3.562 kB / 0.7428 GB, free: 71.22 MB / 426.9 MB Notification: Performance of matching and sorting (n=427): time 0.03003/1.641, allocations: 11.99 MB / 0.7545 GB, free: 61.98 MB / 426.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/1.641, allocations: 132.4 kB / 0.7546 GB, free: 61.84 MB / 426.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01569/1.657, allocations: 10.97 MB / 0.7654 GB, free: 51.13 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0006476/1.657, allocations: 97.7 kB / 0.7654 GB, free: 51.03 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.005835/1.663, allocations: 9.854 MB / 0.7751 GB, free: 42.43 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.001801/1.665, allocations: 1.777 MB / 0.7768 GB, free: 40.67 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005891/1.671, allocations: 2.99 MB / 0.7797 GB, free: 37.67 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 6.316e-05/1.671, allocations: 476.8 kB / 0.7802 GB, free: 37.2 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005672/1.676, allocations: 3.979 MB / 0.7841 GB, free: 33.21 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008731/1.685, allocations: 13.01 MB / 0.7968 GB, free: 16.42 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/1.703, allocations: 18.42 MB / 0.8148 GB, free: 10.2 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002684/1.704, allocations: 56 kB / 0.8148 GB, free: 10.15 MB / 442.9 MB Notification: Performance of matching and sorting (n=1399) (initialization): time 0.1879/1.892, allocations: 15.15 MB / 0.8296 GB, free: 111.4 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.892, allocations: 91.31 kB / 0.8297 GB, free: 111.4 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002785/1.892, allocations: 195.3 kB / 0.8299 GB, free: 111.4 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006803/1.899, allocations: 2.018 MB / 0.8319 GB, free: 111.3 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008813/1.908, allocations: 2.506 MB / 0.8343 GB, free: 111.1 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/1.929, allocations: 11.87 MB / 0.8459 GB, free: 108.9 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01558/1.944, allocations: 1.575 MB / 0.8474 GB, free: 108.7 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002684/1.947, allocations: 0.6003 MB / 0.848 GB, free: 108.7 MB / 442.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.01621/1.963, allocations: 6.836 MB / 0.8547 GB, free: 108.4 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/1.965, allocations: 0.7826 MB / 0.8555 GB, free: 108 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.976, allocations: 7.018 MB / 0.8623 GB, free: 107.6 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006996/1.983, allocations: 5.6 MB / 0.8678 GB, free: 105.8 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/1.983, allocations: 11.31 kB / 0.8678 GB, free: 105.8 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/1.983, allocations: 21.56 kB / 0.8678 GB, free: 105.8 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05229/2.036, allocations: 23.91 MB / 0.8912 GB, free: 88.29 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/2.036, allocations: 0 / 0.8912 GB, free: 88.29 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004698/2.04, allocations: 0.7684 MB / 0.8919 GB, free: 87.52 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009646/2.05, allocations: 1.763 MB / 0.8936 GB, free: 85.75 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008433/2.051, allocations: 91.97 kB / 0.8937 GB, free: 85.66 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/2.07, allocations: 11.5 MB / 0.905 GB, free: 74.1 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/2.07, allocations: 0 / 0.905 GB, free: 74.1 MB / 442.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01575/2.086, allocations: 10.26 MB / 0.915 GB, free: 63.77 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003769/2.09, allocations: 1.16 MB / 0.9161 GB, free: 62.68 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001477/2.091, allocations: 72 kB / 0.9162 GB, free: 62.61 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003581/2.095, allocations: 311.6 kB / 0.9165 GB, free: 62.3 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007285/2.096, allocations: 315.5 kB / 0.9168 GB, free: 61.99 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003203/2.096, allocations: 130.8 kB / 0.9169 GB, free: 61.87 MB / 442.9 MB Notification: Performance of sorting global known variables: time 0.0088/2.105, allocations: 5.394 MB / 0.9222 GB, free: 56.49 MB / 442.9 MB Notification: Performance of sort global known variables: time 1.81e-07/2.105, allocations: 0 / 0.9222 GB, free: 56.49 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.01274/2.117, allocations: 4.247 MB / 0.9263 GB, free: 52.75 MB / 442.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.001106/2.119, allocations: 260.6 kB / 0.9266 GB, free: 52.51 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.01646/2.135, allocations: 10.76 MB / 0.9371 GB, free: 41.76 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/2.135, allocations: 0.9375 kB / 0.9371 GB, free: 41.76 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.006156/2.141, allocations: 3.654 MB / 0.9406 GB, free: 38.08 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009589/2.151, allocations: 1.485 MB / 0.9421 GB, free: 36.62 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05431/2.205, allocations: 28.41 MB / 0.9698 GB, free: 8.086 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2211/2.426, allocations: 10.12 MB / 0.9797 GB, free: 111 MB / 458.9 MB Notification: Performance of simCode: alias equations: time 0.008639/2.435, allocations: 3.413 MB / 0.983 GB, free: 110.7 MB / 458.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/2.436, allocations: 0.4946 MB / 0.9835 GB, free: 110.7 MB / 458.9 MB Notification: Performance of SimCode: time 1.724e-06/2.436, allocations: 4 kB / 0.9835 GB, free: 110.7 MB / 458.9 MB Notification: Performance of Templates: time 0.1427/2.579, allocations: 83.53 MB / 1.065 GB, free: 66.98 MB / 458.9 MB " [Timeout remaining time 657] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.817386877955869]