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.0009845/0.0009845, allocations: 77.97 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.001067/0.001067, allocations: 166.6 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 1.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.6859/0.6859, allocations: 88.06 MB / 349.9 MB, free: 14.09 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|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|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 452 MB, free: 33.11 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/2.029e-05, allocations: 2.312 kB / 452 MB, free: 33.1 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.00621/0.00623, allocations: 1.461 MB / 453.5 MB, free: 32.12 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.007148, allocations: 0.5774 MB / 454.1 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.00722, allocations: 0 / 454.1 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.00807, allocations: 1.718 MB / 455.8 MB, free: 31.44 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.00916, allocations: 1.769 MB / 457.6 MB, free: 31.11 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.009434, allocations: 84.19 kB / 457.6 MB, free: 31.07 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.01199, allocations: 4.308 MB / 462 MB, free: 30.29 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.647e-05/0.01202, allocations: 0 / 462 MB, free: 30.29 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02434/0.03637, allocations: 16.61 MB / 478.6 MB, free: 28.34 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005986/0.04235, allocations: 2.158 MB / 480.7 MB, free: 27.74 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0008393/0.04319, allocations: 0 / 480.7 MB, free: 27.74 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006115/0.0438, allocations: 71.92 kB / 480.8 MB, free: 27.67 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.009387/0.05319, allocations: 10.23 MB / 491 MB, free: 17.41 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.05493, allocations: 1.896 MB / 492.9 MB, free: 15.5 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004709/0.05964, allocations: 10.2 MB / 0.4913 GB, free: 5.246 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.05965, allocations: 0 / 0.4913 GB, free: 5.246 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.05965, allocations: 3.938 kB / 0.4913 GB, free: 5.242 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0002191/0.05987, allocations: 0 / 0.4913 GB, free: 5.242 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01473/0.0746, allocations: 21.37 MB / 0.5122 GB, free: 15.66 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.07465, allocations: 12.03 kB / 0.5122 GB, free: 15.64 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.07682, allocations: 2.325 MB / 0.5145 GB, free: 13.3 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0178/0.09462, allocations: 15.08 MB / 0.5292 GB, free: 14.05 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.09464, allocations: 4.375 kB / 0.5292 GB, free: 14.04 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.09476, allocations: 4.375 kB / 0.5292 GB, free: 14.04 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008282/0.09559, allocations: 0.8966 MB / 0.5301 GB, free: 13.13 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.09559, allocations: 192 / 0.5301 GB, free: 13.13 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.93e-05/0.09568, allocations: 0.5625 kB / 0.5301 GB, free: 13.13 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.09569, allocations: 7.938 kB / 0.5301 GB, free: 13.12 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005867/0.09628, allocations: 0.5985 MB / 0.5307 GB, free: 12.52 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006185/0.1025, allocations: 4.972 MB / 0.5355 GB, free: 7.512 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.1029, allocations: 348.4 kB / 0.5359 GB, free: 7.152 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003829/0.1033, allocations: 333.1 kB / 0.5362 GB, free: 6.816 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1033, allocations: 3.984 kB / 0.5362 GB, free: 6.812 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006988/0.104, allocations: 0.9479 MB / 0.5371 GB, free: 5.836 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.104, allocations: 4 kB / 0.5371 GB, free: 5.832 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.004709/0.1087, allocations: 4.984 MB / 0.542 GB, free: 0.8047 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.1087, allocations: 81.11 kB / 0.5421 GB, free: 0.707 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01722/0.1259, allocations: 21.88 MB / 0.5634 GB, free: 11.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.1262, allocations: 25.7 kB / 0.5635 GB, free: 10.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007791/0.134, allocations: 11.95 MB / 0.5751 GB, free: 15.03 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.000305/0.1343, allocations: 15.86 kB / 0.5751 GB, free: 15.02 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/0.1347, allocations: 0.5806 MB / 0.5757 GB, free: 14.43 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1349, allocations: 488.4 kB / 0.5762 GB, free: 13.95 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/0.1353, allocations: 321.3 kB / 0.5765 GB, free: 13.62 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.1356, allocations: 321.3 kB / 0.5768 GB, free: 13.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007419/0.1363, allocations: 0.6507 MB / 0.5774 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1364, allocations: 0 / 0.5774 GB, free: 12.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00521/0.1416, allocations: 4.669 MB / 0.582 GB, free: 7.934 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.1416, allocations: 41.69 kB / 0.582 GB, free: 7.887 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1416, allocations: 0 / 0.582 GB, free: 7.887 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.1416, allocations: 0 / 0.582 GB, free: 7.887 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.1417, allocations: 4 kB / 0.582 GB, free: 7.883 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1417, allocations: 0 / 0.582 GB, free: 7.883 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.1429, allocations: 11.89 kB / 0.582 GB, free: 7.871 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009565/0.1438, allocations: 1.437 MB / 0.5834 GB, free: 6.434 MB / 0.4949 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.001279/0.1451, allocations: 200.8 kB / 0.5836 GB, free: 6.223 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/0.1465, allocations: 2.328 MB / 0.5859 GB, free: 3.879 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.1479, allocations: 1.831 MB / 0.5877 GB, free: 2.043 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.1479, allocations: 0 / 0.5877 GB, free: 2.043 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1479, allocations: 0 / 0.5877 GB, free: 2.043 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1479, allocations: 3.938 kB / 0.5877 GB, free: 2.039 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.1529, allocations: 5.703 MB / 0.5933 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1529, allocations: 3.984 kB / 0.5933 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.153, allocations: 4 kB / 0.5933 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.153, allocations: 0 / 0.5933 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/0.1533, allocations: 287.6 kB / 0.5935 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1533, allocations: 0 / 0.5935 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.1533, allocations: 7.922 kB / 0.5936 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/0.158, allocations: 4.952 MB / 0.5984 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/0.16, allocations: 2.031 MB / 0.6004 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006832/0.1607, allocations: 4 kB / 0.6004 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009888/0.1617, allocations: 0 / 0.6004 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.1617, allocations: 11.98 kB / 0.6004 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001177/0.1629, allocations: 1.437 MB / 0.6018 GB, free: 3.504 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0135/0.1764, allocations: 13.08 MB / 0.6146 GB, free: 6.574 MB / 0.5262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1764, allocations: 0 / 0.6146 GB, free: 6.574 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.002075/0.1785, allocations: 0.5234 MB / 0.6151 GB, free: 6.051 MB / 0.5262 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.0003259/0.1788, allocations: 127.7 kB / 0.6152 GB, free: 5.918 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.1801, allocations: 0.7203 MB / 0.6159 GB, free: 5.168 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1801, allocations: 4 kB / 0.6159 GB, free: 5.164 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.1808, allocations: 396.4 kB / 0.6163 GB, free: 4.754 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/0.185, allocations: 1.85 MB / 0.6181 GB, free: 2.902 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3966/0.5816, allocations: 29.79 MB / 0.6472 GB, free: 142.7 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/0.5844, allocations: 3.829 MB / 0.6509 GB, free: 142.3 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.005085/0.5895, allocations: 3.028 MB / 0.6539 GB, free: 141.3 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006797/0.5963, allocations: 3.509 MB / 0.6573 GB, free: 140.5 MB / 0.5419 GB Notification: Performance of SimCode: time 2.835e-06/0.5963, allocations: 0 / 0.6573 GB, free: 140.5 MB / 0.5419 GB Notification: Performance of Templates: time 0.1583/0.7546, allocations: 58.6 MB / 0.7145 GB, free: 107.6 MB / 0.5419 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.324128002859652]