Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/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) 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) Running command: translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.20.|T.2.|T.3.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20") translateModel(ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.1.|T.20.|T.2.|T.3.|der.T.1..|der.T.2..|der.T.3..|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 221.4 MB / 235.5 MB, free: 2.863 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008952/0.0008951, allocations: 99.78 kB / 286.5 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.085/1.085, allocations: 120.5 MB / 457.9 MB, free: 7.02 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.196e-05, allocations: 4 kB / 0.5357 GB, free: 12.18 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6501/0.6501, allocations: 82.84 MB / 0.6166 GB, free: 9.336 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1616/0.8117, allocations: 125.3 MB / 0.739 GB, free: 11.87 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000151/0.8119, allocations: 63.84 kB / 0.7391 GB, free: 11.81 MB / 0.5419 GB Notification: Performance of FrontEnd - DAE generated: time 0.01337/0.8253, allocations: 4.241 MB / 0.7432 GB, free: 7.543 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8253, allocations: 0 / 0.7432 GB, free: 7.543 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.266e-05/0.8254, allocations: 4 kB / 0.7432 GB, free: 7.539 MB / 0.5419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001357/0.8267, allocations: 0.5842 MB / 0.7438 GB, free: 6.906 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.8268, allocations: 8.031 kB / 0.7438 GB, free: 6.898 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.8269, allocations: 27.75 kB / 0.7438 GB, free: 6.871 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.8272, allocations: 218.8 kB / 0.744 GB, free: 6.617 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.8272, allocations: 16.33 kB / 0.744 GB, free: 6.602 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.8273, allocations: 35.84 kB / 0.7441 GB, free: 6.566 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004002/0.8277, allocations: 228.3 kB / 0.7443 GB, free: 6.34 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8277, allocations: 4 kB / 0.7443 GB, free: 6.336 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.8277, allocations: 4 kB / 0.7443 GB, free: 6.332 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.8278, allocations: 7.953 kB / 0.7443 GB, free: 6.324 MB / 0.5419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.828, allocations: 120.5 kB / 0.7444 GB, free: 6.207 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.8305, allocations: 1.828 MB / 0.7462 GB, free: 4.094 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006348/0.8368, allocations: 0.9083 MB / 0.7471 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.837, allocations: 89.17 kB / 0.7472 GB, free: 3.086 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.837, allocations: 7.953 kB / 0.7472 GB, free: 3.078 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.8371, allocations: 38.55 kB / 0.7472 GB, free: 3.031 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/0.8371, allocations: 0 / 0.7472 GB, free: 3.031 MB / 0.5419 GB Notification: Performance of matching and sorting (n=19): time 0.0004859/0.8376, allocations: 240.8 kB / 0.7474 GB, free: 2.793 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.8376, allocations: 51.41 kB / 0.7475 GB, free: 2.73 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.8377, allocations: 113 kB / 0.7476 GB, free: 2.613 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.8378, allocations: 29.7 kB / 0.7476 GB, free: 2.578 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 6.299e-05/0.8378, allocations: 124.5 kB / 0.7478 GB, free: 2.453 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 6.939e-05/0.8379, allocations: 83.12 kB / 0.7478 GB, free: 2.371 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/0.8379, allocations: 12 kB / 0.7478 GB, free: 2.359 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.838, allocations: 326.8 kB / 0.7482 GB, free: 2.031 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.8382, allocations: 104 kB / 0.7483 GB, free: 1.93 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.8384, allocations: 119.9 kB / 0.7484 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.8386, allocations: 132.3 kB / 0.7485 GB, free: 1.684 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8386, allocations: 0 / 0.7485 GB, free: 1.684 MB / 0.5419 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004913/0.8391, allocations: 324.8 kB / 0.7488 GB, free: 1.359 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8392, allocations: 4 kB / 0.7488 GB, free: 1.355 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8392, allocations: 4 kB / 0.7488 GB, free: 1.352 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.8392, allocations: 7.953 kB / 0.7488 GB, free: 1.344 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.8397, allocations: 75.88 kB / 0.7489 GB, free: 1.27 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.8397, allocations: 0 / 0.7489 GB, free: 1.27 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.84, allocations: 51.7 kB / 0.7489 GB, free: 1.219 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.84, allocations: 8 kB / 0.7489 GB, free: 1.211 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/0.8401, allocations: 116.9 kB / 0.7491 GB, free: 1.09 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.8402, allocations: 15.84 kB / 0.7491 GB, free: 1.074 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.8403, allocations: 36.75 kB / 0.7491 GB, free: 1.039 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.8403, allocations: 7.953 kB / 0.7491 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.8404, allocations: 0 / 0.7491 GB, free: 1.031 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.8404, allocations: 3.984 kB / 0.7491 GB, free: 1.027 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.8407, allocations: 281.5 kB / 0.7494 GB, free: 0.7031 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.8407, allocations: 0 / 0.7494 GB, free: 0.7031 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.8412, allocations: 51.95 kB / 0.7494 GB, free: 0.6523 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.8412, allocations: 4 kB / 0.7494 GB, free: 0.6484 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.8413, allocations: 11.98 kB / 0.7495 GB, free: 0.6367 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8413, allocations: 4 kB / 0.7495 GB, free: 0.6328 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.8413, allocations: 3.953 kB / 0.7495 GB, free: 0.6289 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005786/0.8419, allocations: 431.9 kB / 0.7499 GB, free: 196 kB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.8419, allocations: 85.02 kB / 0.75 GB, free: 92 kB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.842, allocations: 20.11 kB / 0.75 GB, free: 72 kB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.8423, allocations: 31.81 kB / 0.75 GB, free: 40 kB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.8424, allocations: 15.97 kB / 0.75 GB, free: 24 kB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.8424, allocations: 4 kB / 0.75 GB, free: 20 kB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.6563/1.499, allocations: 85.03 kB / 0.7501 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.192e-06/1.499, allocations: 3.656 kB / 0.7501 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0006022/1.499, allocations: 84.28 kB / 0.7502 GB, free: 132.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 19 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/1.5, allocations: 115 kB / 0.7503 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.0006032/1.5, allocations: 243.8 kB / 0.7505 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.5, allocations: 0 / 0.7505 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/1.5, allocations: 111.9 kB / 0.7506 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/1.501, allocations: 43.73 kB / 0.7507 GB, free: 132.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/1.503, allocations: 1.459 MB / 0.7521 GB, free: 132 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/1.503, allocations: 0.7495 MB / 0.7528 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.0003529/1.503, allocations: 90.44 kB / 0.7529 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/1.503, allocations: 17.56 kB / 0.7529 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of SimCode: time 4.51e-07/1.503, allocations: 0 / 0.7529 GB, free: 131.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.007103/1.51, allocations: 3.03 MB / 0.7559 GB, free: 131.1 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.HeatConduction.ScaledExperiments.OneDHeatTransferTI_FD_N_20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches