Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 178.4 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.504/1.504, allocations: 225.7 MB / 243.2 MB, free: 10.21 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.0008059/0.0008058, allocations: 86.75 kB / 294.4 MB, free: 9.75 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.9362/0.9362, allocations: 120.5 MB / 465.9 MB, free: 7.789 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 11.94 kB / 0.5464 GB, free: 41.36 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 82.84 MB / 0.6273 GB, free: 7.887 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.001894/0.1721, allocations: 1.275 MB / 0.6285 GB, free: 6.602 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.1735, allocations: 0.9737 MB / 0.6295 GB, free: 5.586 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.683e-05/0.1736, allocations: 4 kB / 0.6295 GB, free: 5.582 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0009219/0.1746, allocations: 0.8966 MB / 0.6304 GB, free: 4.684 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006105/0.1752, allocations: 0.5068 MB / 0.6309 GB, free: 4.176 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1755, allocations: 99.7 kB / 0.6309 GB, free: 4.078 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009718/0.1764, allocations: 1.158 MB / 0.6321 GB, free: 2.918 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.1765, allocations: 7.984 kB / 0.6321 GB, free: 2.91 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.1771, allocations: 0.577 MB / 0.6327 GB, free: 2.332 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.1779, allocations: 0.9788 MB / 0.6336 GB, free: 1.352 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.1781, allocations: 68 kB / 0.6337 GB, free: 1.285 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.1783, allocations: 87.98 kB / 0.6338 GB, free: 1.199 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002302/0.1806, allocations: 2.505 MB / 0.6362 GB, free: 14.69 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.1817, allocations: 1.452 MB / 0.6376 GB, free: 13.21 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002561/0.1843, allocations: 3.038 MB / 0.6406 GB, free: 10.16 MB / 458.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.1843, allocations: 4 kB / 0.6406 GB, free: 10.16 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1843, allocations: 4 kB / 0.6406 GB, free: 10.15 MB / 458.8 MB Notification: Performance of Transformations before backend: time 4.316e-05/0.1844, allocations: 0 / 0.6406 GB, free: 10.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00531/0.1897, allocations: 4.581 MB / 0.6451 GB, free: 5.488 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1898, allocations: 8.031 kB / 0.6451 GB, free: 5.48 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005703/0.1904, allocations: 0.5599 MB / 0.6456 GB, free: 4.914 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009265/0.1996, allocations: 6.555 MB / 0.652 GB, free: 14.27 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1997, allocations: 384 / 0.652 GB, free: 14.27 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.1997, allocations: 8.125 kB / 0.652 GB, free: 14.27 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1999, allocations: 49.67 kB / 0.6521 GB, free: 14.21 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1999, allocations: 0 / 0.6521 GB, free: 14.21 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1999, allocations: 4 kB / 0.6521 GB, free: 14.21 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1999, allocations: 0 / 0.6521 GB, free: 14.21 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.2, allocations: 15.92 kB / 0.6521 GB, free: 14.19 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.202, allocations: 1.859 MB / 0.6539 GB, free: 12.29 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.2022, allocations: 58.55 kB / 0.654 GB, free: 12.22 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.2022, allocations: 20.8 kB / 0.654 GB, free: 12.2 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2023, allocations: 4 kB / 0.654 GB, free: 12.19 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.2025, allocations: 59.39 kB / 0.654 GB, free: 12.12 MB / 474.8 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.2025, allocations: 0 / 0.654 GB, free: 12.12 MB / 474.8 MB Notification: Performance of matching and sorting (n=5): time 0.0007682/0.2033, allocations: 0.6621 MB / 0.6547 GB, free: 11.45 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.2033, allocations: 51.41 kB / 0.6547 GB, free: 11.38 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/0.2102, allocations: 6.384 MB / 0.661 GB, free: 5.043 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.2102, allocations: 25.7 kB / 0.661 GB, free: 5.012 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.2125, allocations: 2.657 MB / 0.6636 GB, free: 2.352 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.2126, allocations: 23.73 kB / 0.6636 GB, free: 2.328 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.2126, allocations: 0 / 0.6636 GB, free: 2.328 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2127, allocations: 314 kB / 0.6639 GB, free: 2.016 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.532e-05/0.2128, allocations: 15.98 kB / 0.6639 GB, free: 2 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.839e-05/0.2129, allocations: 29.72 kB / 0.664 GB, free: 1.965 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.213, allocations: 45.95 kB / 0.664 GB, free: 1.914 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.213, allocations: 3.938 kB / 0.664 GB, free: 1.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00073/0.2137, allocations: 0.6426 MB / 0.6646 GB, free: 1.254 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2138, allocations: 4 kB / 0.6646 GB, free: 1.25 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.2138, allocations: 0 / 0.6646 GB, free: 1.25 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.2138, allocations: 0 / 0.6646 GB, free: 1.25 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.249e-05/0.2139, allocations: 19.95 kB / 0.6647 GB, free: 1.23 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.2139, allocations: 4 kB / 0.6647 GB, free: 1.227 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.2143, allocations: 23.94 kB / 0.6647 GB, free: 1.203 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.2143, allocations: 4 kB / 0.6647 GB, free: 1.199 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.001483/0.2158, allocations: 1.281 MB / 0.6659 GB, free: 15.91 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005042/0.2163, allocations: 0.5863 MB / 0.6665 GB, free: 15.32 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.217, allocations: 0.6521 MB / 0.6672 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.217, allocations: 0 / 0.6672 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.217, allocations: 0 / 0.6672 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.217, allocations: 4 kB / 0.6672 GB, free: 14.66 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.2189, allocations: 2.031 MB / 0.6691 GB, free: 12.58 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2189, allocations: 0 / 0.6691 GB, free: 12.58 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.974e-05/0.219, allocations: 7.938 kB / 0.6691 GB, free: 12.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.219, allocations: 0 / 0.6691 GB, free: 12.57 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.219, allocations: 4 kB / 0.6692 GB, free: 12.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.219, allocations: 0 / 0.6692 GB, free: 12.57 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.219, allocations: 3.984 kB / 0.6692 GB, free: 12.57 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.2197, allocations: 0.7289 MB / 0.6699 GB, free: 11.81 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000627/0.2204, allocations: 0.564 MB / 0.6704 GB, free: 11.22 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.2206, allocations: 20 kB / 0.6704 GB, free: 11.2 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003054/0.2209, allocations: 16.12 kB / 0.6705 GB, free: 11.19 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.2209, allocations: 11.98 kB / 0.6705 GB, free: 11.18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.221, allocations: 4 kB / 0.6705 GB, free: 11.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.005459/0.2264, allocations: 4.349 MB / 0.6747 GB, free: 6.863 MB / 490.8 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2264, allocations: 4 kB / 0.6747 GB, free: 6.859 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0004943/0.2269, allocations: 176 kB / 0.6749 GB, free: 6.688 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009877/0.2279, allocations: 468.3 kB / 0.6753 GB, free: 6.352 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.2281, allocations: 39.86 kB / 0.6754 GB, free: 6.312 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2281, allocations: 0 / 0.6754 GB, free: 6.312 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 6.506e-05/0.2282, allocations: 23.98 kB / 0.6754 GB, free: 6.289 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.2294, allocations: 461.2 kB / 0.6758 GB, free: 5.836 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.2405, allocations: 9.528 MB / 0.6851 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/0.2429, allocations: 2.733 MB / 0.6878 GB, free: 9.516 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.003578/0.2465, allocations: 1.415 MB / 0.6892 GB, free: 8.094 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/0.2476, allocations: 0.5655 MB / 0.6897 GB, free: 7.527 MB / 0.4949 GB Notification: Performance of SimCode: time 1.122e-06/0.2477, allocations: 0 / 0.6897 GB, free: 7.527 MB / 0.4949 GB Notification: Performance of Templates: time 0.5899/0.8376, allocations: 15.2 MB / 0.7046 GB, free: 68.79 MB / 0.495 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches