Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 105.8 kB / 17.06 MB, free: 6.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002086, allocations: 194.9 kB / 18 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.215/1.215, allocations: 119.3 MB / 411.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 70.2 kB / 0.5709 GB, free: 39.79 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1725, allocations: 80.7 MB / 0.6497 GB, free: 13.06 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002951/0.1755, allocations: 1.417 MB / 0.6511 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1767, allocations: 0.5652 MB / 0.6516 GB, free: 11.07 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.1768, allocations: 3.938 kB / 0.6517 GB, free: 11.06 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002415/0.1792, allocations: 3.426 MB / 0.655 GB, free: 7.629 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002551/0.1818, allocations: 3.465 MB / 0.6584 GB, free: 4.156 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.1822, allocations: 83.78 kB / 0.6585 GB, free: 4.074 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.00652/0.1887, allocations: 8.555 MB / 0.6668 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.991e-05/0.1888, allocations: 4 kB / 0.6668 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005833/0.1946, allocations: 4.25 MB / 0.671 GB, free: 7.246 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009612/0.2043, allocations: 8.081 MB / 0.6789 GB, free: 15.15 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.002174/0.2065, allocations: 0.4922 MB / 0.6793 GB, free: 14.66 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.2087, allocations: 0.5624 MB / 0.6799 GB, free: 14.09 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.0214/0.2301, allocations: 19.91 MB / 0.6993 GB, free: 10.13 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.01625/0.2464, allocations: 11.25 MB / 0.7103 GB, free: 14.77 MB / 0.5608 GB Notification: Performance of NFConvertDAE.convert: time 0.02572/0.2721, allocations: 24.74 MB / 0.7345 GB, free: 5.895 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2722, allocations: 0 / 0.7345 GB, free: 5.895 MB / 0.5764 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2722, allocations: 0 / 0.7345 GB, free: 5.895 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.0009011/0.2731, allocations: 0 / 0.7345 GB, free: 5.895 MB / 0.5764 GB 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.8879/1.161, allocations: 38.75 MB / 0.7723 GB, free: 84.44 MB / 0.6079 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.161, allocations: 8.938 kB / 0.7723 GB, free: 84.44 MB / 0.6079 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009796/1.171, allocations: 4.4 MB / 0.7766 GB, free: 83.64 MB / 0.6079 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1432/1.314, allocations: 51.57 MB / 0.827 GB, free: 45.38 MB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/1.314, allocations: 5.406 kB / 0.827 GB, free: 45.38 MB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/1.315, allocations: 128.4 kB / 0.8271 GB, free: 45.26 MB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/1.316, allocations: 1.517 MB / 0.8286 GB, free: 43.73 MB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/1.316, allocations: 0 / 0.8286 GB, free: 43.73 MB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002071/1.316, allocations: 131.5 kB / 0.8287 GB, free: 43.61 MB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/1.316, allocations: 0 / 0.8287 GB, free: 43.61 MB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008929/1.317, allocations: 0.8733 MB / 0.8296 GB, free: 42.74 MB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02348/1.341, allocations: 13.84 MB / 0.8431 GB, free: 28.83 MB / 0.6079 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/1.342, allocations: 0.5298 MB / 0.8436 GB, free: 28.29 MB / 0.6079 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/1.343, allocations: 0.5126 MB / 0.8441 GB, free: 27.78 MB / 0.6079 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/1.343, allocations: 0.625 kB / 0.8441 GB, free: 27.78 MB / 0.6079 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/1.344, allocations: 1.318 MB / 0.8454 GB, free: 26.44 MB / 0.6079 GB Notification: Performance of pre-optimization done (n=8): time 3.927e-06/1.344, allocations: 0.7188 kB / 0.8454 GB, free: 26.44 MB / 0.6079 GB Notification: Performance of matching and sorting (n=8): time 0.01328/1.357, allocations: 8.333 MB / 0.8536 GB, free: 18.04 MB / 0.6079 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/1.357, allocations: 81.11 kB / 0.8536 GB, free: 17.95 MB / 0.6079 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09777/1.455, allocations: 49.57 MB / 0.902 GB, free: 0.7852 MB / 0.6392 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/1.456, allocations: 153.7 kB / 0.9022 GB, free: 0.6289 MB / 0.6392 GB Notification: Performance of collectInitialEqns (initialization): time 0.02866/1.485, allocations: 22.55 MB / 0.9242 GB, free: 10.07 MB / 0.6704 GB Notification: Performance of collectInitialBindings (initialization): time 0.001189/1.486, allocations: 139.8 kB / 0.9243 GB, free: 9.93 MB / 0.6704 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001155/1.487, allocations: 0.8806 MB / 0.9252 GB, free: 9.043 MB / 0.6704 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.487, allocations: 313.7 kB / 0.9255 GB, free: 8.734 MB / 0.6704 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007722/1.488, allocations: 0.5107 MB / 0.926 GB, free: 8.23 MB / 0.6704 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/1.489, allocations: 0.5065 MB / 0.9265 GB, free: 7.727 MB / 0.6704 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.491, allocations: 1.079 MB / 0.9276 GB, free: 6.633 MB / 0.6704 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.491, allocations: 0 / 0.9276 GB, free: 6.633 MB / 0.6704 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01505/1.506, allocations: 7.819 MB / 0.9352 GB, free: 14.74 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/1.506, allocations: 41.58 kB / 0.9352 GB, free: 14.7 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/1.506, allocations: 0 / 0.9352 GB, free: 14.7 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/1.506, allocations: 0 / 0.9352 GB, free: 14.7 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/1.506, allocations: 6.5 kB / 0.9352 GB, free: 14.7 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/1.506, allocations: 0 / 0.9352 GB, free: 14.7 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009917/1.516, allocations: 131.9 kB / 0.9354 GB, free: 14.57 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003266/1.519, allocations: 1.717 MB / 0.937 GB, free: 12.85 MB / 0.686 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.01922/1.538, allocations: 9.668 MB / 0.9465 GB, free: 3.16 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01129/1.55, allocations: 4.527 MB / 0.9509 GB, free: 14.57 MB / 0.7017 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.564, allocations: 5.115 MB / 0.9559 GB, free: 9.449 MB / 0.7017 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.564, allocations: 0 / 0.9559 GB, free: 9.449 MB / 0.7017 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.564, allocations: 3.984 kB / 0.9559 GB, free: 9.445 MB / 0.7017 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.564, allocations: 0 / 0.9559 GB, free: 9.445 MB / 0.7017 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03785/1.602, allocations: 15.07 MB / 0.9706 GB, free: 10.31 MB / 0.7173 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.602, allocations: 3.938 kB / 0.9706 GB, free: 10.3 MB / 0.7173 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.066e-05/1.602, allocations: 4 kB / 0.9706 GB, free: 10.3 MB / 0.7173 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.68e-05/1.602, allocations: 3.938 kB / 0.9706 GB, free: 10.3 MB / 0.7173 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001388/1.604, allocations: 380 kB / 0.971 GB, free: 9.926 MB / 0.7173 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/1.604, allocations: 3 kB / 0.971 GB, free: 9.926 MB / 0.7173 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.604, allocations: 0 / 0.971 GB, free: 9.926 MB / 0.7173 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/1.618, allocations: 8.157 MB / 0.979 GB, free: 1.691 MB / 0.7173 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01302/1.631, allocations: 3.876 MB / 0.9827 GB, free: 13.74 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005488/1.636, allocations: 139.9 kB / 0.9829 GB, free: 13.6 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006917/1.643, allocations: 135 kB / 0.983 GB, free: 13.47 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/1.643, allocations: 0 / 0.983 GB, free: 13.47 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004167/1.647, allocations: 1.715 MB / 0.9847 GB, free: 11.76 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.07608/1.724, allocations: 34.49 MB / 1.018 GB, free: 9.574 MB / 0.7642 GB Notification: Performance of sort global known variables: time 3.2e-07/1.724, allocations: 0 / 1.018 GB, free: 9.574 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.007663/1.731, allocations: 1.257 MB / 1.02 GB, free: 8.32 MB / 0.7642 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.0009578/1.732, allocations: 251.2 kB / 1.02 GB, free: 8.074 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.002176/1.735, allocations: 1.233 MB / 1.021 GB, free: 6.832 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.735, allocations: 0 / 1.021 GB, free: 6.832 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/1.736, allocations: 0.7181 MB / 1.022 GB, free: 6.102 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02659/1.762, allocations: 3.384 MB / 1.025 GB, free: 2.715 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5654/2.328, allocations: 70.56 MB / 1.094 GB, free: 281.3 MB / 0.8267 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04125/2.369, allocations: 17.34 MB / 1.111 GB, free: 275.9 MB / 0.8267 GB Notification: Performance of simCode: alias equations: time 0.02656/2.396, allocations: 9.423 MB / 1.12 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004808/2.401, allocations: 1.967 MB / 1.122 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of SimCode: time 1.142e-06/2.401, allocations: 0 / 1.122 GB, free: 271.3 MB / 0.8267 GB Notification: Performance of Templates: time 0.4431/2.844, allocations: 167.3 MB / 1.285 GB, free: 125.8 MB / 0.8267 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches