Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.001471/0.001471, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001618/0.001618, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.9549/0.9549, allocations: 177.1 MB / 205 MB, free: 4.785 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6107/0.6107, allocations: 88.07 MB / 349.5 MB, free: 14.13 MB / 330.7 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) 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(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="combiTimeTable.y.[0-9,]+.|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.143e-05/4.397e-05, allocations: 5.406 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.003376/0.00342, allocations: 1.632 MB / 453.2 MB, free: 32.27 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.005064, allocations: 1.023 MB / 454.2 MB, free: 31.64 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.005157, allocations: 0 / 454.2 MB, free: 31.64 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009483/0.006105, allocations: 0.8953 MB / 455.1 MB, free: 31.46 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008524/0.006957, allocations: 0.5871 MB / 455.7 MB, free: 31.31 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.007177, allocations: 67 kB / 455.8 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009008/0.008078, allocations: 1.179 MB / 456.9 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.008133, allocations: 6.25 kB / 457 MB, free: 31.03 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008242/0.008957, allocations: 0.6659 MB / 457.6 MB, free: 30.86 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.00997, allocations: 1.158 MB / 458.8 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.01014, allocations: 66.03 kB / 458.8 MB, free: 30.7 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.01038, allocations: 98.59 kB / 458.9 MB, free: 30.69 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00249/0.01287, allocations: 2.638 MB / 461.6 MB, free: 29.86 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006489/0.01352, allocations: 0.6174 MB / 462.2 MB, free: 29.51 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002162/0.01568, allocations: 2.56 MB / 464.8 MB, free: 28.5 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.01569, allocations: 0 / 464.8 MB, free: 28.5 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.884e-06/0.01569, allocations: 0 / 464.8 MB, free: 28.5 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.001e-05/0.01574, allocations: 0 / 464.8 MB, free: 28.5 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.005777/0.02152, allocations: 5.608 MB / 470.4 MB, free: 24.5 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.02157, allocations: 12.25 kB / 470.4 MB, free: 24.5 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006243/0.0222, allocations: 0.5911 MB / 471 MB, free: 24.16 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009202/0.0314, allocations: 5.26 MB / 476.2 MB, free: 21.65 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.921e-05/0.03143, allocations: 1.656 kB / 476.2 MB, free: 21.65 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.03145, allocations: 6.906 kB / 476.2 MB, free: 21.64 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.03161, allocations: 53.19 kB / 476.3 MB, free: 21.6 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.03163, allocations: 5.188 kB / 476.3 MB, free: 21.59 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.03164, allocations: 0 / 476.3 MB, free: 21.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.03165, allocations: 5.266 kB / 476.3 MB, free: 21.59 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.03169, allocations: 16.3 kB / 476.3 MB, free: 21.58 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002432/0.03412, allocations: 2.37 MB / 478.7 MB, free: 20.48 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.03425, allocations: 49.47 kB / 478.7 MB, free: 20.44 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.03428, allocations: 14 kB / 478.7 MB, free: 20.43 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.0343, allocations: 0 / 478.7 MB, free: 20.43 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001131/0.03441, allocations: 76.45 kB / 478.8 MB, free: 20.36 MB / 410.8 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.03441, allocations: 0 / 478.8 MB, free: 20.36 MB / 410.8 MB Notification: Performance of matching and sorting (n=5): time 0.0006073/0.03502, allocations: 0.6798 MB / 479.5 MB, free: 19.97 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.03505, allocations: 53.16 kB / 479.6 MB, free: 19.91 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004868/0.03991, allocations: 5.801 MB / 485.4 MB, free: 17.81 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.03993, allocations: 29.7 kB / 485.4 MB, free: 17.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001591/0.04152, allocations: 2.862 MB / 488.2 MB, free: 15.55 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.04156, allocations: 9.312 kB / 488.3 MB, free: 15.55 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.04161, allocations: 28.88 kB / 488.3 MB, free: 15.52 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.04167, allocations: 493.3 kB / 488.8 MB, free: 15.03 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.0417, allocations: 6.031 kB / 488.8 MB, free: 15.03 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.672e-05/0.04173, allocations: 30.83 kB / 488.8 MB, free: 15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.04179, allocations: 43.5 kB / 488.8 MB, free: 14.97 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.04179, allocations: 4 kB / 488.8 MB, free: 14.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005199/0.04231, allocations: 0.6645 MB / 489.5 MB, free: 14.58 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.04233, allocations: 6.5 kB / 489.5 MB, free: 14.58 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.04234, allocations: 3.938 kB / 489.5 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.04236, allocations: 1.312 kB / 489.5 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.04245, allocations: 10.31 kB / 489.5 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.04245, allocations: 1.5 kB / 489.5 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002678/0.04272, allocations: 21.72 kB / 489.6 MB, free: 14.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.04273, allocations: 2.469 kB / 489.6 MB, free: 14.57 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.04297, allocations: 165.1 kB / 489.7 MB, free: 14.4 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/0.04337, allocations: 0.6322 MB / 490.3 MB, free: 14.05 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.04387, allocations: 0.5377 MB / 490.9 MB, free: 13.82 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.04387, allocations: 1.375 kB / 490.9 MB, free: 13.82 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.04387, allocations: 0 / 490.9 MB, free: 13.82 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.04388, allocations: 0 / 490.9 MB, free: 13.82 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.04582, allocations: 2.451 MB / 493.3 MB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.04583, allocations: 0 / 493.3 MB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.639e-05/0.04586, allocations: 8.828 kB / 493.3 MB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.04587, allocations: 0 / 493.3 MB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.04587, allocations: 1.375 kB / 493.3 MB, free: 12.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.04588, allocations: 7.938 kB / 493.4 MB, free: 12.7 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.04588, allocations: 1.375 kB / 493.4 MB, free: 12.7 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.04636, allocations: 0.7789 MB / 494.1 MB, free: 12.08 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.04668, allocations: 483 kB / 494.6 MB, free: 11.61 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.04682, allocations: 16 kB / 494.6 MB, free: 11.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.04702, allocations: 23.94 kB / 494.6 MB, free: 11.57 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.04706, allocations: 3.281 kB / 494.7 MB, free: 11.57 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.04708, allocations: 8 kB / 494.7 MB, free: 11.56 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002377/0.04946, allocations: 3.081 MB / 497.7 MB, free: 9.082 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.04946, allocations: 0 / 497.7 MB, free: 9.082 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000349/0.04981, allocations: 177.2 kB / 497.9 MB, free: 8.91 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009249/0.05073, allocations: 390 kB / 498.3 MB, free: 8.672 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.05084, allocations: 39.94 kB / 498.3 MB, free: 8.633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.05085, allocations: 4.062 kB / 498.3 MB, free: 8.629 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.05088, allocations: 22.45 kB / 498.4 MB, free: 8.605 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009389/0.05182, allocations: 493.8 kB / 498.8 MB, free: 8.129 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.05648, allocations: 7.21 MB / 0.4942 GB, free: 1.316 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007493/0.05723, allocations: 0.9884 MB / 0.4952 GB, free: 0.6836 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001825/0.05905, allocations: 1.287 MB / 0.4964 GB, free: 15.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005702/0.05963, allocations: 0.5749 MB / 0.497 GB, free: 15.12 MB / 426.8 MB Notification: Performance of SimCode: time 9.72e-07/0.05963, allocations: 3.938 kB / 0.497 GB, free: 15.12 MB / 426.8 MB Notification: Performance of Templates: time 0.02962/0.08925, allocations: 12.64 MB / 0.5093 GB, free: 2.562 MB / 426.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.232955757994205]