Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.001089/0.001089, allocations: 83.69 kB / 21.43 MB, free: 3.137 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.005632/0.005632, allocations: 165.9 kB / 24.7 MB, free: 9.426 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 1.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.734 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.8087/0.8087, allocations: 88.07 MB / 349.5 MB, free: 14.36 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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5242 GB, free: 3.555 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.264e-05/3.452e-05, allocations: 2.281 kB / 0.5242 GB, free: 3.551 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.002077/0.002112, allocations: 1.421 MB / 0.5256 GB, free: 2.121 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000836/0.002948, allocations: 0.5569 MB / 0.5262 GB, free: 1.559 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.003015, allocations: 4 kB / 0.5262 GB, free: 1.555 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009852/0.004, allocations: 1.715 MB / 0.5278 GB, free: 15.84 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.005149, allocations: 1.774 MB / 0.5296 GB, free: 14.06 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.005431, allocations: 79.78 kB / 0.5296 GB, free: 13.98 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.007878, allocations: 4.307 MB / 0.5338 GB, free: 9.668 MB / 458.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.00793, allocations: 4 kB / 0.5339 GB, free: 9.664 MB / 458.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001638/0.009568, allocations: 2.406 MB / 0.5362 GB, free: 7.254 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002652/0.01222, allocations: 4.535 MB / 0.5406 GB, free: 2.711 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.01252, allocations: 256 kB / 0.5409 GB, free: 2.461 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.01288, allocations: 319.9 kB / 0.5412 GB, free: 2.148 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00708/0.01996, allocations: 10.48 MB / 0.5514 GB, free: 7.637 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.02168, allocations: 2.384 MB / 0.5537 GB, free: 5.238 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006675/0.02836, allocations: 11.1 MB / 0.5646 GB, free: 10.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.02837, allocations: 0 / 0.5646 GB, free: 10.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.945e-06/0.02837, allocations: 0 / 0.5646 GB, free: 10.08 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001853/0.02855, allocations: 0 / 0.5646 GB, free: 10.08 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01811/0.04666, allocations: 20.1 MB / 0.5842 GB, free: 5.773 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.04671, allocations: 8.031 kB / 0.5842 GB, free: 5.766 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002263/0.04898, allocations: 2.325 MB / 0.5865 GB, free: 3.426 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03235/0.08133, allocations: 26.13 MB / 0.612 GB, free: 9.09 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.08136, allocations: 4.312 kB / 0.612 GB, free: 9.086 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.08146, allocations: 68.36 kB / 0.6121 GB, free: 9.02 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.08222, allocations: 0.8117 MB / 0.6129 GB, free: 8.195 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.08224, allocations: 192 / 0.6129 GB, free: 8.195 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.08233, allocations: 64.38 kB / 0.6129 GB, free: 8.133 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.08234, allocations: 7.938 kB / 0.6129 GB, free: 8.125 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.0828, allocations: 489.7 kB / 0.6134 GB, free: 7.641 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007671/0.09047, allocations: 6.795 MB / 0.62 GB, free: 0.8125 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.09082, allocations: 316.2 kB / 0.6203 GB, free: 500 kB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.09112, allocations: 298.6 kB / 0.6206 GB, free: 192 kB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.09113, allocations: 0 / 0.6206 GB, free: 192 kB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005851/0.09172, allocations: 0.7403 MB / 0.6213 GB, free: 15.42 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=8): time 2.054e-06/0.09172, allocations: 0 / 0.6213 GB, free: 15.42 MB / 0.5418 GB Notification: Performance of matching and sorting (n=8): time 0.004368/0.09609, allocations: 4.417 MB / 0.6257 GB, free: 10.96 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.09616, allocations: 96.97 kB / 0.6258 GB, free: 10.85 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.68/0.7762, allocations: 24.83 MB / 0.65 GB, free: 82.57 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0003416/0.7765, allocations: 94.83 kB / 0.6501 GB, free: 82.53 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.004961/0.7815, allocations: 10.82 MB / 0.6607 GB, free: 73.91 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.7817, allocations: 83.64 kB / 0.6607 GB, free: 73.9 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00031/0.782, allocations: 464.3 kB / 0.6612 GB, free: 73.88 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.484e-05/0.782, allocations: 309.5 kB / 0.6615 GB, free: 73.57 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002509/0.7823, allocations: 297.7 kB / 0.6618 GB, free: 73.53 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.7825, allocations: 297.1 kB / 0.662 GB, free: 73.49 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005477/0.7831, allocations: 0.5933 MB / 0.6626 GB, free: 73.39 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.7831, allocations: 0 / 0.6626 GB, free: 73.39 MB / 0.5419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00273/0.7858, allocations: 4.135 MB / 0.6667 GB, free: 73.27 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.7858, allocations: 40.78 kB / 0.6667 GB, free: 73.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.7858, allocations: 0 / 0.6667 GB, free: 73.23 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/0.7859, allocations: 1.641 kB / 0.6667 GB, free: 73.23 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.786, allocations: 7.5 kB / 0.6667 GB, free: 73.23 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.786, allocations: 3.594 kB / 0.6667 GB, free: 73.23 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.7869, allocations: 67.94 kB / 0.6668 GB, free: 73.23 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003993/0.7873, allocations: 0.854 MB / 0.6676 GB, free: 73.11 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: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.003661/0.7909, allocations: 4.904 MB / 0.6724 GB, free: 68.54 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.7919, allocations: 2.389 MB / 0.6747 GB, free: 67.49 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.7932, allocations: 2.568 MB / 0.6772 GB, free: 64.92 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.7932, allocations: 7.938 kB / 0.6773 GB, free: 64.91 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7932, allocations: 0 / 0.6773 GB, free: 64.91 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.7932, allocations: 0 / 0.6773 GB, free: 64.91 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.7972, allocations: 7.418 MB / 0.6845 GB, free: 57.47 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.7972, allocations: 0 / 0.6845 GB, free: 57.47 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/0.7973, allocations: 9.578 kB / 0.6845 GB, free: 57.46 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.7973, allocations: 0 / 0.6845 GB, free: 57.46 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.7974, allocations: 192 kB / 0.6847 GB, free: 57.28 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.7974, allocations: 3.625 kB / 0.6847 GB, free: 57.28 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7974, allocations: 3.938 kB / 0.6847 GB, free: 57.27 MB / 0.5419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.7994, allocations: 4.324 MB / 0.6889 GB, free: 52.91 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.8007, allocations: 2.029 MB / 0.6909 GB, free: 50.87 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.8011, allocations: 64 kB / 0.691 GB, free: 50.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006752/0.8018, allocations: 68 kB / 0.691 GB, free: 50.74 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.8018, allocations: 3.938 kB / 0.691 GB, free: 50.73 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003321/0.8022, allocations: 0.8594 MB / 0.6919 GB, free: 49.88 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 0.01132/0.8135, allocations: 17.24 MB / 0.7087 GB, free: 32.79 MB / 0.5419 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8135, allocations: 0 / 0.7087 GB, free: 32.79 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0009922/0.8145, allocations: 0.6472 MB / 0.7093 GB, free: 32.15 MB / 0.5419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0002898/0.8148, allocations: 191.2 kB / 0.7095 GB, free: 31.96 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0006743/0.8154, allocations: 0.724 MB / 0.7102 GB, free: 31.21 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8155, allocations: 0 / 0.7102 GB, free: 31.21 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.8158, allocations: 425.1 kB / 0.7106 GB, free: 30.78 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.8185, allocations: 1.692 MB / 0.7123 GB, free: 29.09 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/0.846, allocations: 36.14 MB / 0.7476 GB, free: 9.105 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006125/0.8522, allocations: 8.637 MB / 0.756 GB, free: 436 kB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.8532, allocations: 0.9888 MB / 0.757 GB, free: 15.43 MB / 0.5731 GB Notification: Performance of SimCode: time 2.064e-06/0.8532, allocations: 0 / 0.757 GB, free: 15.43 MB / 0.5731 GB Notification: Performance of Templates: time 4.085/4.938, allocations: 1.627 GB / 2.384 GB, free: 105 MB / 0.7453 GB " [Timeout remaining time 295] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.770882405340672]