Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009029/0.0009029, allocations: 179.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.7 MB / 243.2 MB, free: 8.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009376/0.0009377, allocations: 90.02 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.8441/0.8441, allocations: 120.5 MB / 465.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003836, allocations: 8 kB / 0.5464 GB, free: 41.34 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 82.85 MB / 0.6273 GB, free: 7.855 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.001652/0.155, allocations: 1.131 MB / 0.6284 GB, free: 6.715 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1563, allocations: 0.7874 MB / 0.6292 GB, free: 5.867 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.1564, allocations: 0 / 0.6292 GB, free: 5.867 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007026/0.1572, allocations: 0.8654 MB / 0.63 GB, free: 5 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0007959/0.158, allocations: 0.9044 MB / 0.6309 GB, free: 4.094 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.1583, allocations: 59.88 kB / 0.6309 GB, free: 4.035 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.001679/0.16, allocations: 2.181 MB / 0.6331 GB, free: 1.852 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.1601, allocations: 3.984 kB / 0.6331 GB, free: 1.848 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.1614, allocations: 1.084 MB / 0.6341 GB, free: 0.7617 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.1634, allocations: 1.919 MB / 0.636 GB, free: 14.84 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.1637, allocations: 124 kB / 0.6361 GB, free: 14.72 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.164, allocations: 195.9 kB / 0.6363 GB, free: 14.53 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004095/0.1681, allocations: 4.983 MB / 0.6412 GB, free: 9.531 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002363/0.1705, allocations: 2.86 MB / 0.644 GB, free: 6.637 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.1747, allocations: 5.966 MB / 0.6498 GB, free: 0.6367 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1747, allocations: 4 kB / 0.6498 GB, free: 0.6328 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1747, allocations: 0 / 0.6498 GB, free: 0.6328 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001068/0.1748, allocations: 0 / 0.6498 GB, free: 0.6328 MB / 458.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.01022/0.1851, allocations: 8.798 MB / 0.6584 GB, free: 7.711 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1851, allocations: 8.031 kB / 0.6584 GB, free: 7.703 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.1867, allocations: 1.107 MB / 0.6595 GB, free: 6.582 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02012/0.2068, allocations: 12.95 MB / 0.6721 GB, free: 9.504 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2069, allocations: 4.375 kB / 0.6721 GB, free: 9.5 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.2069, allocations: 32.38 kB / 0.6722 GB, free: 9.469 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/0.2075, allocations: 429.6 kB / 0.6726 GB, free: 9.043 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/0.2075, allocations: 0 / 0.6726 GB, free: 9.043 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.666e-05/0.2076, allocations: 32 kB / 0.6726 GB, free: 9.012 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2076, allocations: 4 kB / 0.6726 GB, free: 9.008 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.2079, allocations: 236 kB / 0.6728 GB, free: 8.777 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004/0.2119, allocations: 3.576 MB / 0.6763 GB, free: 5.156 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002547/0.2122, allocations: 170.5 kB / 0.6765 GB, free: 4.98 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.2124, allocations: 156.9 kB / 0.6766 GB, free: 4.824 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.2124, allocations: 0 / 0.6766 GB, free: 4.824 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004693/0.2129, allocations: 408.7 kB / 0.677 GB, free: 4.406 MB / 490.8 MB Notification: Performance of pre-optimization done (n=8): time 1.904e-06/0.2129, allocations: 3.938 kB / 0.677 GB, free: 4.402 MB / 490.8 MB Notification: Performance of matching and sorting (n=8): time 0.002425/0.2154, allocations: 2.188 MB / 0.6792 GB, free: 2.188 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.2154, allocations: 81.11 kB / 0.6792 GB, free: 2.09 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/0.229, allocations: 12.35 MB / 0.6913 GB, free: 5.84 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.2292, allocations: 57.7 kB / 0.6914 GB, free: 5.777 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.004639/0.2338, allocations: 5.208 MB / 0.6964 GB, free: 0.5664 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.234, allocations: 47.81 kB / 0.6965 GB, free: 0.5195 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.125e-05/0.2341, allocations: 32 kB / 0.6965 GB, free: 500 kB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2342, allocations: 306 kB / 0.6968 GB, free: 188 kB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.2344, allocations: 148 kB / 0.697 GB, free: 40 kB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.6563/0.8908, allocations: 133.2 kB / 0.6971 GB, free: 65.77 MB / 0.495 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000906/0.8917, allocations: 354.3 kB / 0.6974 GB, free: 65.7 MB / 0.495 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.8917, allocations: 3.281 kB / 0.6974 GB, free: 65.7 MB / 0.495 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004693/0.8964, allocations: 2.054 MB / 0.6994 GB, free: 65.64 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.8965, allocations: 36.09 kB / 0.6995 GB, free: 65.61 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8966, allocations: 0 / 0.6995 GB, free: 65.61 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.8966, allocations: 0.9375 kB / 0.6995 GB, free: 65.61 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.8967, allocations: 5.375 kB / 0.6995 GB, free: 65.61 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.8967, allocations: 0.6094 kB / 0.6995 GB, free: 65.61 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.8989, allocations: 35.62 kB / 0.6995 GB, free: 65.61 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007297/0.8996, allocations: 444.2 kB / 0.6999 GB, free: 65.61 MB / 0.495 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 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * 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.007555/0.9072, allocations: 2.531 MB / 0.7024 GB, free: 65.46 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002059/0.9093, allocations: 1.138 MB / 0.7035 GB, free: 65.46 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.9124, allocations: 1.284 MB / 0.7048 GB, free: 65.16 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.9125, allocations: 1.312 kB / 0.7048 GB, free: 65.16 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.9125, allocations: 7.141 kB / 0.7048 GB, free: 65.16 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.9125, allocations: 0 / 0.7048 GB, free: 65.16 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006763/0.9193, allocations: 3.89 MB / 0.7086 GB, free: 63.79 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.9193, allocations: 0 / 0.7086 GB, free: 63.79 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.9194, allocations: 3.703 kB / 0.7086 GB, free: 63.79 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.9194, allocations: 4.969 kB / 0.7086 GB, free: 63.79 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003084/0.9198, allocations: 102.8 kB / 0.7087 GB, free: 63.78 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.9198, allocations: 1.438 kB / 0.7087 GB, free: 63.78 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9198, allocations: 0 / 0.7087 GB, free: 63.78 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/0.9245, allocations: 2.176 MB / 0.7108 GB, free: 62.98 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/0.9271, allocations: 1.031 MB / 0.7118 GB, free: 62.25 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/0.9284, allocations: 34.97 kB / 0.7118 GB, free: 62.25 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.9296, allocations: 34.02 kB / 0.7119 GB, free: 62.25 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.878e-05/0.9296, allocations: 5.266 kB / 0.7119 GB, free: 62.25 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005302/0.9302, allocations: 441.4 kB / 0.7123 GB, free: 62.19 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.02028/0.9505, allocations: 8.445 MB / 0.7206 GB, free: 59.36 MB / 0.495 GB Notification: Performance of sort global known variables: time 5.01e-07/0.9505, allocations: 3.625 kB / 0.7206 GB, free: 59.36 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.001826/0.9524, allocations: 349.5 kB / 0.7209 GB, free: 59.02 MB / 0.495 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.0003537/0.9527, allocations: 163.2 kB / 0.721 GB, free: 58.86 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.0009446/0.9537, allocations: 415.4 kB / 0.7214 GB, free: 58.45 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9537, allocations: 0 / 0.7214 GB, free: 58.45 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.9542, allocations: 267.4 kB / 0.7217 GB, free: 58.18 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/0.9585, allocations: 0.8488 MB / 0.7225 GB, free: 57.33 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/0.991, allocations: 19.21 MB / 0.7413 GB, free: 38.29 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007573/0.9986, allocations: 4.792 MB / 0.746 GB, free: 33.48 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.01002/1.009, allocations: 2.331 MB / 0.7482 GB, free: 31.14 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008589/1.01, allocations: 0.4994 MB / 0.7487 GB, free: 30.64 MB / 0.495 GB Notification: Performance of SimCode: time 9.11e-07/1.01, allocations: 0 / 0.7487 GB, free: 30.64 MB / 0.495 GB Notification: Performance of Templates: time 0.1639/1.174, allocations: 40.35 MB / 0.7881 GB, free: 6.18 MB / 0.5107 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches