Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.0008757/0.0008758, allocations: 182.2 kB / 16.71 MB, free: 4.969 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.328/1.328, allocations: 225.7 MB / 243.2 MB, free: 8.449 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.0008744/0.0008744, allocations: 94.17 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.8095/0.8095, allocations: 120.5 MB / 465.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002995, allocations: 8 kB / 0.5464 GB, free: 41.32 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 82.85 MB / 0.6273 GB, free: 7.836 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.001751/0.15, allocations: 1.279 MB / 0.6285 GB, free: 6.547 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1513, allocations: 0.9737 MB / 0.6295 GB, free: 5.531 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.1514, allocations: 0 / 0.6295 GB, free: 5.531 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.001142/0.1525, allocations: 1.758 MB / 0.6312 GB, free: 3.77 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.1533, allocations: 0.9277 MB / 0.6321 GB, free: 2.84 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.1535, allocations: 95.77 kB / 0.6322 GB, free: 2.746 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.00151/0.155, allocations: 2.216 MB / 0.6344 GB, free: 0.5273 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.1551, allocations: 4 kB / 0.6344 GB, free: 0.5234 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009157/0.156, allocations: 1.103 MB / 0.6354 GB, free: 15.42 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.1575, allocations: 1.93 MB / 0.6373 GB, free: 13.48 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002654/0.1577, allocations: 132 kB / 0.6375 GB, free: 13.36 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.158, allocations: 144 kB / 0.6376 GB, free: 13.21 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.004119/0.1622, allocations: 4.995 MB / 0.6425 GB, free: 8.207 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.1644, allocations: 2.86 MB / 0.6453 GB, free: 5.312 MB / 458.8 MB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.1685, allocations: 5.981 MB / 0.6511 GB, free: 15.3 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1686, allocations: 0 / 0.6511 GB, free: 15.3 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1686, allocations: 0 / 0.6511 GB, free: 15.3 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0001137/0.1687, allocations: 0 / 0.6511 GB, free: 15.3 MB / 474.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.011/0.1797, allocations: 8.804 MB / 0.6597 GB, free: 6.375 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.1798, allocations: 8.031 kB / 0.6597 GB, free: 6.367 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001462/0.1812, allocations: 1.107 MB / 0.6608 GB, free: 5.246 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02116/0.2024, allocations: 12.99 MB / 0.6735 GB, free: 8.133 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2025, allocations: 384 / 0.6735 GB, free: 8.133 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.2025, allocations: 4.125 kB / 0.6735 GB, free: 8.129 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.2027, allocations: 49.67 kB / 0.6735 GB, free: 8.074 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2028, allocations: 0 / 0.6735 GB, free: 8.074 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.2028, allocations: 0 / 0.6735 GB, free: 8.074 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2028, allocations: 0 / 0.6735 GB, free: 8.074 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.26e-05/0.2029, allocations: 19.97 kB / 0.6735 GB, free: 8.055 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005424/0.2083, allocations: 3.557 MB / 0.677 GB, free: 4.453 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.2085, allocations: 50.56 kB / 0.6771 GB, free: 4.395 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.769e-05/0.2086, allocations: 24.78 kB / 0.6771 GB, free: 4.367 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.2087, allocations: 0 / 0.6771 GB, free: 4.367 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/0.2089, allocations: 63.39 kB / 0.6772 GB, free: 4.293 MB / 490.8 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.2089, allocations: 4 kB / 0.6772 GB, free: 4.289 MB / 490.8 MB Notification: Performance of matching and sorting (n=5): time 0.002024/0.2109, allocations: 1.221 MB / 0.6784 GB, free: 3.047 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.211, allocations: 59.39 kB / 0.6784 GB, free: 2.977 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/0.227, allocations: 12.62 MB / 0.6907 GB, free: 6.457 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.227, allocations: 25.7 kB / 0.6908 GB, free: 6.426 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005038/0.2321, allocations: 5.478 MB / 0.6961 GB, free: 0.9453 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 6.319e-05/0.2322, allocations: 11.81 kB / 0.6961 GB, free: 0.9336 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-06/0.2322, allocations: 4 kB / 0.6961 GB, free: 0.9297 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.2323, allocations: 314 kB / 0.6964 GB, free: 0.6172 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.2324, allocations: 19.92 kB / 0.6964 GB, free: 0.5977 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.2325, allocations: 29.7 kB / 0.6965 GB, free: 0.5625 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.2326, allocations: 37.97 kB / 0.6965 GB, free: 0.5195 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.2326, allocations: 0 / 0.6965 GB, free: 0.5195 MB / 0.4949 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.5528/0.7854, allocations: 1.214 MB / 0.6977 GB, free: 65.51 MB / 0.495 GB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.7855, allocations: 6.594 kB / 0.6977 GB, free: 65.51 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7855, allocations: 0.5625 kB / 0.6977 GB, free: 65.51 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.7856, allocations: 4.188 kB / 0.6977 GB, free: 65.51 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.7857, allocations: 11.28 kB / 0.6977 GB, free: 65.51 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7857, allocations: 3.641 kB / 0.6977 GB, free: 65.51 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.7873, allocations: 41.73 kB / 0.6978 GB, free: 65.51 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.7873, allocations: 3.375 kB / 0.6978 GB, free: 65.51 MB / 0.495 GB 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.005698/0.793, allocations: 2.438 MB / 0.7001 GB, free: 65.39 MB / 0.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002426/0.7955, allocations: 1.167 MB / 0.7013 GB, free: 65.39 MB / 0.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/0.7986, allocations: 1.294 MB / 0.7025 GB, free: 65.2 MB / 0.495 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.7986, allocations: 1.188 kB / 0.7025 GB, free: 65.2 MB / 0.495 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.7987, allocations: 0 / 0.7025 GB, free: 65.2 MB / 0.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7987, allocations: 3.328 kB / 0.7025 GB, free: 65.2 MB / 0.495 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00666/0.8053, allocations: 3.893 MB / 0.7063 GB, free: 63.83 MB / 0.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8054, allocations: 2.156 kB / 0.7063 GB, free: 63.83 MB / 0.495 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.8055, allocations: 4.922 kB / 0.7064 GB, free: 63.83 MB / 0.495 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.8055, allocations: 0 / 0.7064 GB, free: 63.83 MB / 0.495 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.8055, allocations: 1.734 kB / 0.7064 GB, free: 63.83 MB / 0.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.8055, allocations: 1.281 kB / 0.7064 GB, free: 63.83 MB / 0.495 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8055, allocations: 0 / 0.7064 GB, free: 63.83 MB / 0.495 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002561/0.8081, allocations: 1.34 MB / 0.7077 GB, free: 63.34 MB / 0.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/0.81, allocations: 1.037 MB / 0.7087 GB, free: 62.61 MB / 0.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008215/0.8109, allocations: 33.53 kB / 0.7087 GB, free: 62.61 MB / 0.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.812, allocations: 33.11 kB / 0.7087 GB, free: 62.61 MB / 0.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.8121, allocations: 6.859 kB / 0.7087 GB, free: 62.61 MB / 0.495 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.8122, allocations: 3.391 kB / 0.7087 GB, free: 62.61 MB / 0.495 GB Notification: Performance of sorting global known variables: time 0.02035/0.8325, allocations: 8.644 MB / 0.7172 GB, free: 60.49 MB / 0.495 GB Notification: Performance of sort global known variables: time 5.91e-07/0.8326, allocations: 2 kB / 0.7172 GB, free: 60.49 MB / 0.495 GB Notification: Performance of remove unused functions: time 0.001672/0.8343, allocations: 323.1 kB / 0.7175 GB, free: 60.49 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: 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.001357/0.8356, allocations: 483.8 kB / 0.718 GB, free: 60.25 MB / 0.495 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.8359, allocations: 45.17 kB / 0.718 GB, free: 60.24 MB / 0.495 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8359, allocations: 0 / 0.718 GB, free: 60.24 MB / 0.495 GB Notification: Performance of simCode: created simulation system equations: time 8.176e-05/0.836, allocations: 18.14 kB / 0.718 GB, free: 60.24 MB / 0.495 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/0.8394, allocations: 0.8763 MB / 0.7189 GB, free: 59.69 MB / 0.495 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/0.8692, allocations: 19.25 MB / 0.7377 GB, free: 42.07 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005912/0.8752, allocations: 4.803 MB / 0.7424 GB, free: 37.24 MB / 0.495 GB Notification: Performance of simCode: alias equations: time 0.01179/0.887, allocations: 2.848 MB / 0.7452 GB, free: 34.38 MB / 0.495 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003389/0.8904, allocations: 1.112 MB / 0.7462 GB, free: 33.27 MB / 0.495 GB Notification: Performance of SimCode: time 7.21e-07/0.8904, allocations: 0 / 0.7462 GB, free: 33.27 MB / 0.495 GB Notification: Performance of Templates: time 0.1165/1.007, allocations: 29.74 MB / 0.7753 GB, free: 3.508 MB / 0.495 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches