Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.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.000974/0.000974, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009454/0.0009454, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9538/0.9538, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 273.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.733e-05, allocations: 2.312 kB / 273.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1297/0.1297, allocations: 26.5 MB / 299.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.142, allocations: 7.158 MB / 307.1 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005176/0.1472, allocations: 315.8 kB / 307.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0169/0.1641, allocations: 13.62 MB / 321 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008692/0.1728, allocations: 2.682 MB / 323.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.1769, allocations: 2.044 MB / 325.7 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01657/0.1935, allocations: 19.12 MB / 344.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04034/0.2338, allocations: 28.21 MB / 373 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02131/0.2551, allocations: 15.27 MB / 388.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01376/0.2689, allocations: 11.18 MB / 399.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006497/0.2754, allocations: 2.918 MB / 402.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008925/0.2843, allocations: 3.206 MB / 405.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007194/0.2915, allocations: 5.677 MB / 411.3 MB, free: 7.707 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01431/0.3058, allocations: 7.33 MB / 418.6 MB, free: 372 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2614/0.5672, allocations: 18.34 MB / 437 MB, free: 67.54 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.5672, allocations: 0.7031 kB / 437 MB, free: 67.54 MB / 378.8 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5672, allocations: 1.062 kB / 437 MB, free: 67.54 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0007216/0.5679, allocations: 0 / 437 MB, free: 67.54 MB / 378.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.03923/0.6071, allocations: 22.55 MB / 459.5 MB, free: 62.04 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.6072, allocations: 11.62 kB / 459.5 MB, free: 62.04 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03593/0.6431, allocations: 8.291 MB / 467.8 MB, free: 60.93 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/0.6612, allocations: 10.31 MB / 478.1 MB, free: 55.89 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/0.6623, allocations: 1.347 MB / 479.5 MB, free: 55.27 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00556/0.6679, allocations: 1.756 MB / 481.2 MB, free: 54.7 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03667/0.7046, allocations: 14.06 MB / 495.3 MB, free: 42.86 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004797/0.705, allocations: 27.56 kB / 495.3 MB, free: 42.83 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003829/0.7089, allocations: 0.7256 MB / 496 MB, free: 42.12 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004398/0.7093, allocations: 0.8415 MB / 496.9 MB, free: 41.27 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01575/0.7251, allocations: 5.749 MB / 0.4908 GB, free: 35.51 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09005/0.8151, allocations: 70.35 MB / 0.5595 GB, free: 15.11 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009431/0.8245, allocations: 8.963 MB / 0.5683 GB, free: 8.281 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/0.8275, allocations: 2.323 MB / 0.5706 GB, free: 6.008 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003424/0.8278, allocations: 220.3 kB / 0.5708 GB, free: 5.789 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.397e-05/0.8279, allocations: 93.91 kB / 0.5709 GB, free: 5.684 MB / 426.8 MB Notification: Performance of pre-optimization done (n=577): time 7.865e-06/0.8279, allocations: 0 / 0.5709 GB, free: 5.684 MB / 426.8 MB Notification: Performance of matching and sorting (n=577): time 0.01554/0.8435, allocations: 7.797 MB / 0.5785 GB, free: 13.85 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.956e-05/0.8435, allocations: 133.6 kB / 0.5786 GB, free: 13.7 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00752/0.851, allocations: 6.22 MB / 0.5847 GB, free: 8.332 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000446/0.8515, allocations: 121.7 kB / 0.5848 GB, free: 8.207 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005756/0.8572, allocations: 8.409 MB / 0.593 GB, free: 16 kB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.1619/1.019, allocations: 2.194 MB / 0.5952 GB, free: 125.7 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003844/1.023, allocations: 2.475 MB / 0.5976 GB, free: 125.5 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 3.746e-05/1.023, allocations: 477.8 kB / 0.598 GB, free: 125 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/1.025, allocations: 1.072 MB / 0.5991 GB, free: 125 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004107/1.029, allocations: 8.324 MB / 0.6072 GB, free: 116.3 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007053/1.036, allocations: 10.54 MB / 0.6175 GB, free: 107.4 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/1.036, allocations: 42.44 kB / 0.6175 GB, free: 107.4 MB / 442.8 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.009985/1.046, allocations: 8.196 MB / 0.6255 GB, free: 106.7 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/1.047, allocations: 70.44 kB / 0.6256 GB, free: 106.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/1.047, allocations: 163.1 kB / 0.6258 GB, free: 106.7 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003438/1.05, allocations: 1.576 MB / 0.6273 GB, free: 106.6 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/1.055, allocations: 2.204 MB / 0.6295 GB, free: 106.6 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/1.061, allocations: 6.94 MB / 0.6362 GB, free: 104.4 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/1.067, allocations: 1.178 MB / 0.6374 GB, free: 103.9 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/1.068, allocations: 465.6 kB / 0.6378 GB, free: 103.9 MB / 442.8 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.003767/1.072, allocations: 0.8848 MB / 0.6387 GB, free: 103.7 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/1.073, allocations: 0.8123 MB / 0.6395 GB, free: 103.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005894/1.079, allocations: 5.431 MB / 0.6448 GB, free: 100 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00329/1.082, allocations: 2.943 MB / 0.6477 GB, free: 97.79 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/1.082, allocations: 17.38 kB / 0.6477 GB, free: 97.77 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/1.082, allocations: 30.47 kB / 0.6477 GB, free: 97.77 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0273/1.109, allocations: 17.42 MB / 0.6647 GB, free: 87.95 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.109, allocations: 8 kB / 0.6647 GB, free: 87.94 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.111, allocations: 0.862 MB / 0.6656 GB, free: 87.23 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002943/1.114, allocations: 1.378 MB / 0.6669 GB, free: 86.25 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003793/1.114, allocations: 135.3 kB / 0.667 GB, free: 86.13 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005362/1.12, allocations: 6.587 MB / 0.6735 GB, free: 80.23 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.12, allocations: 13.44 kB / 0.6735 GB, free: 80.22 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00672/1.127, allocations: 5.643 MB / 0.679 GB, free: 74.91 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/1.129, allocations: 1.162 MB / 0.6801 GB, free: 73.88 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008104/1.129, allocations: 107.6 kB / 0.6802 GB, free: 73.78 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/1.131, allocations: 147.9 kB / 0.6804 GB, free: 73.64 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/1.131, allocations: 429.2 kB / 0.6808 GB, free: 73.43 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002142/1.132, allocations: 136.8 kB / 0.6809 GB, free: 73.31 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002652/1.134, allocations: 2.438 MB / 0.6833 GB, free: 71.4 MB / 442.8 MB Notification: Performance of sort global known variables: time 3.61e-07/1.134, allocations: 0 / 0.6833 GB, free: 71.4 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.009062/1.143, allocations: 4.102 MB / 0.6873 GB, free: 67.28 MB / 442.8 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.001157/1.145, allocations: 341.8 kB / 0.6876 GB, free: 67.02 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.008521/1.153, allocations: 6.003 MB / 0.6935 GB, free: 61.55 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.153, allocations: 4 kB / 0.6935 GB, free: 61.54 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/1.156, allocations: 2.541 MB / 0.696 GB, free: 59.14 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/1.16, allocations: 1.495 MB / 0.6974 GB, free: 57.73 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/1.197, allocations: 24.41 MB / 0.7213 GB, free: 33.11 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009475/1.206, allocations: 4.904 MB / 0.7261 GB, free: 28.17 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.003769/1.21, allocations: 1.113 MB / 0.7271 GB, free: 27.05 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002557/1.212, allocations: 1.537 MB / 0.7287 GB, free: 25.51 MB / 442.8 MB Notification: Performance of SimCode: time 1.663e-06/1.212, allocations: 4.875 kB / 0.7287 GB, free: 25.5 MB / 442.8 MB Notification: Performance of Templates: time 0.2719/1.484, allocations: 98.7 MB / 0.825 GB, free: 75.65 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 5.903034136164933]