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.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 108.8 kB / 17.06 MB, free: 5.82 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.001541/0.001542, allocations: 196.6 kB / 18 MB, free: 4.965 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.593/1.593, 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.387/1.387, allocations: 119.3 MB / 411.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 62.11 kB / 0.5709 GB, free: 39.78 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1822, allocations: 80.71 MB / 0.6497 GB, free: 13.07 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.003193/0.1855, allocations: 1.406 MB / 0.6511 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1867, allocations: 0.573 MB / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.172e-05/0.1868, allocations: 0 / 0.6517 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.1882, allocations: 1.719 MB / 0.6533 GB, free: 9.355 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.1898, allocations: 1.758 MB / 0.6551 GB, free: 7.594 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1902, allocations: 79.78 kB / 0.6551 GB, free: 7.516 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.003931/0.1941, allocations: 4.31 MB / 0.6593 GB, free: 3.199 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.704e-05/0.1942, allocations: 11.98 kB / 0.6593 GB, free: 3.188 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003108/0.1973, allocations: 2.141 MB / 0.6614 GB, free: 1.043 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004896/0.2022, allocations: 4.056 MB / 0.6654 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0009188/0.2032, allocations: 252 kB / 0.6656 GB, free: 12.73 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009973/0.2042, allocations: 331.9 kB / 0.666 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0117/0.2159, allocations: 9.958 MB / 0.6757 GB, free: 2.426 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.009457/0.2254, allocations: 5.636 MB / 0.6812 GB, free: 12.73 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.01775/0.2431, allocations: 12.54 MB / 0.6934 GB, free: 112 kB / 0.5295 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.2432, allocations: 0 / 0.6934 GB, free: 112 kB / 0.5295 GB Notification: Performance of FrontEnd: time 3.036e-06/0.2432, allocations: 0 / 0.6934 GB, free: 112 kB / 0.5295 GB Notification: Performance of Transformations before backend: time 0.0007059/0.2439, allocations: 0 / 0.6934 GB, free: 112 kB / 0.5295 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.03288/0.2768, allocations: 20.42 MB / 0.7134 GB, free: 11.46 MB / 0.5608 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2769, allocations: 15.97 kB / 0.7134 GB, free: 11.45 MB / 0.5608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.281, allocations: 2.325 MB / 0.7157 GB, free: 9.105 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05599/0.337, allocations: 26.2 MB / 0.7412 GB, free: 14.76 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3371, allocations: 384 / 0.7412 GB, free: 14.75 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/0.3374, allocations: 64.38 kB / 0.7413 GB, free: 14.69 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.3388, allocations: 0.7775 MB / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3389, allocations: 0 / 0.7421 GB, free: 13.91 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.339, allocations: 67.94 kB / 0.7421 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.339, allocations: 0 / 0.7421 GB, free: 13.84 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006061/0.3396, allocations: 464 kB / 0.7426 GB, free: 13.39 MB / 0.592 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.351, allocations: 7.011 MB / 0.7494 GB, free: 6.328 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000745/0.3517, allocations: 282.6 kB / 0.7497 GB, free: 6.043 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/0.3523, allocations: 284.9 kB / 0.75 GB, free: 5.762 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.3523, allocations: 0 / 0.75 GB, free: 5.762 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007867/0.3531, allocations: 0.7112 MB / 0.7506 GB, free: 5.031 MB / 0.592 GB Notification: Performance of pre-optimization done (n=8): time 2.976e-06/0.3531, allocations: 0 / 0.7506 GB, free: 5.031 MB / 0.592 GB Notification: Performance of matching and sorting (n=8): time 0.006294/0.3594, allocations: 4.351 MB / 0.7549 GB, free: 0.6523 MB / 0.592 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.3595, allocations: 85.11 kB / 0.755 GB, free: 0.5508 MB / 0.592 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8258/1.185, allocations: 24.83 MB / 0.7792 GB, free: 90.73 MB / 0.6079 GB Notification: Performance of collectPreVariables (initialization): time 0.0004387/1.186, allocations: 88.55 kB / 0.7793 GB, free: 90.7 MB / 0.6079 GB Notification: Performance of collectInitialEqns (initialization): time 0.0127/1.199, allocations: 10.82 MB / 0.7899 GB, free: 82.07 MB / 0.6079 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006459/1.199, allocations: 77.53 kB / 0.79 GB, free: 82.07 MB / 0.6079 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000787/1.2, allocations: 462.7 kB / 0.7904 GB, free: 82.05 MB / 0.6079 GB Notification: Performance of setup shared object (initialization): time 8.065e-05/1.2, allocations: 315.8 kB / 0.7907 GB, free: 81.75 MB / 0.6079 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/1.201, allocations: 268.7 kB / 0.791 GB, free: 81.74 MB / 0.6079 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/1.201, allocations: 269.7 kB / 0.7912 GB, free: 81.73 MB / 0.6079 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009263/1.202, allocations: 0.5881 MB / 0.7918 GB, free: 81.64 MB / 0.6079 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.202, allocations: 0 / 0.7918 GB, free: 81.64 MB / 0.6079 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.008139/1.21, allocations: 4.091 MB / 0.7958 GB, free: 81.56 MB / 0.6079 GB Notification: Performance of prepare postOptimizeDAE: time 6.834e-05/1.21, allocations: 39.48 kB / 0.7958 GB, free: 81.53 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.21, allocations: 0 / 0.7958 GB, free: 81.53 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/1.21, allocations: 5.281 kB / 0.7958 GB, free: 81.53 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.969e-05/1.21, allocations: 4.031 kB / 0.7958 GB, free: 81.53 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.21, allocations: 3.094 kB / 0.7958 GB, free: 81.53 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004376/1.215, allocations: 69.31 kB / 0.7959 GB, free: 81.53 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000777/1.216, allocations: 0.859 MB / 0.7967 GB, free: 81.41 MB / 0.6079 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.009154/1.225, allocations: 4.908 MB / 0.8015 GB, free: 80.77 MB / 0.6079 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0039/1.229, allocations: 2.388 MB / 0.8039 GB, free: 80.77 MB / 0.6079 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006545/1.235, allocations: 2.566 MB / 0.8064 GB, free: 80.03 MB / 0.6079 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.235, allocations: 1.312 kB / 0.8064 GB, free: 80.03 MB / 0.6079 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-06/1.235, allocations: 0 / 0.8064 GB, free: 80.03 MB / 0.6079 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.235, allocations: 1.344 kB / 0.8064 GB, free: 80.03 MB / 0.6079 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/1.254, allocations: 7.621 MB / 0.8138 GB, free: 76.84 MB / 0.6079 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.254, allocations: 0 / 0.8138 GB, free: 76.84 MB / 0.6079 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/1.254, allocations: 6.562 kB / 0.8138 GB, free: 76.84 MB / 0.6079 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/1.254, allocations: 7.547 kB / 0.8138 GB, free: 76.84 MB / 0.6079 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006881/1.254, allocations: 192.5 kB / 0.814 GB, free: 76.84 MB / 0.6079 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/1.254, allocations: 4.75 kB / 0.814 GB, free: 76.84 MB / 0.6079 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.255, allocations: 0 / 0.814 GB, free: 76.84 MB / 0.6079 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007558/1.262, allocations: 4.284 MB / 0.8182 GB, free: 75.2 MB / 0.6079 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006579/1.269, allocations: 2.109 MB / 0.8203 GB, free: 73.16 MB / 0.6079 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002543/1.271, allocations: 69.02 kB / 0.8203 GB, free: 73.1 MB / 0.6079 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003187/1.274, allocations: 64 kB / 0.8204 GB, free: 73.04 MB / 0.6079 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/1.275, allocations: 11.98 kB / 0.8204 GB, free: 73.02 MB / 0.6079 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008898/1.275, allocations: 0.8555 MB / 0.8212 GB, free: 72.17 MB / 0.6079 GB Notification: Performance of sorting global known variables: time 0.0291/1.305, allocations: 17.24 MB / 0.8381 GB, free: 55.07 MB / 0.6079 GB Notification: Performance of sort global known variables: time 2.6e-07/1.305, allocations: 1.344 kB / 0.8381 GB, free: 55.07 MB / 0.6079 GB Notification: Performance of remove unused functions: time 0.003971/1.309, allocations: 0.6404 MB / 0.8387 GB, free: 54.44 MB / 0.6079 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.000626/1.309, allocations: 185.6 kB / 0.8389 GB, free: 54.25 MB / 0.6079 GB Notification: Performance of simCode: created initialization part: time 0.001624/1.311, allocations: 0.6919 MB / 0.8395 GB, free: 53.55 MB / 0.6079 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.311, allocations: 0 / 0.8395 GB, free: 53.55 MB / 0.6079 GB Notification: Performance of simCode: created simulation system equations: time 0.0005944/1.311, allocations: 425.8 kB / 0.84 GB, free: 53.13 MB / 0.6079 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008694/1.32, allocations: 1.692 MB / 0.8416 GB, free: 51.43 MB / 0.6079 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04572/1.366, allocations: 35.22 MB / 0.876 GB, free: 16.38 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01328/1.379, allocations: 8.919 MB / 0.8847 GB, free: 7.426 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.01233/1.392, allocations: 4.695 MB / 0.8893 GB, free: 2.75 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002417/1.394, allocations: 0.9877 MB / 0.8903 GB, free: 1.762 MB / 0.6079 GB Notification: Performance of SimCode: time 1.553e-06/1.394, allocations: 0 / 0.8903 GB, free: 1.762 MB / 0.6079 GB Notification: Performance of Templates: time 0.2479/1.642, allocations: 82.69 MB / 0.971 GB, free: 14.94 MB / 0.7017 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches