Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.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.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 111.4 kB / 17.68 MB, free: 5.496 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.00162/0.001621, allocations: 192 kB / 18.62 MB, free: 4.562 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.547/1.547, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.394/1.394, allocations: 119.3 MB / 411.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 0.4923 GB, free: 13.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/0.8138, allocations: 80.69 MB / 0.5711 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250): time 0.003837/0.8177, allocations: 1.585 MB / 0.5727 GB, free: 42.24 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.8194, allocations: 0.8815 MB / 0.5736 GB, free: 41.56 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.985e-05/0.8195, allocations: 5.281 kB / 0.5736 GB, free: 41.55 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0007768/0.8203, allocations: 475.5 kB / 0.574 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0006255/0.8209, allocations: 314.6 kB / 0.5743 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.8213, allocations: 110 kB / 0.5744 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007795/0.8221, allocations: 0.636 MB / 0.575 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.778e-05/0.8222, allocations: 8.656 kB / 0.575 GB, free: 40.75 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004745/0.8227, allocations: 328.8 kB / 0.5754 GB, free: 40.58 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007185/0.8234, allocations: 0.5333 MB / 0.5759 GB, free: 40.38 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.8235, allocations: 37.62 kB / 0.5759 GB, free: 40.37 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.8237, allocations: 58.58 kB / 0.576 GB, free: 40.36 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00161/0.8253, allocations: 1.269 MB / 0.5772 GB, free: 39.74 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0006181/0.8259, allocations: 0.7344 MB / 0.5779 GB, free: 39.11 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.002002/0.8279, allocations: 1.628 MB / 0.5795 GB, free: 38.1 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.828, allocations: 0 / 0.5795 GB, free: 38.1 MB / 462.3 MB Notification: Performance of FrontEnd: time 4.649e-06/0.828, allocations: 0 / 0.5795 GB, free: 38.1 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.825e-05/0.828, allocations: 3.938 kB / 0.5795 GB, free: 38.09 MB / 462.3 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.004005/0.832, allocations: 2.781 MB / 0.5822 GB, free: 35.93 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/0.8321, allocations: 12.7 kB / 0.5823 GB, free: 35.92 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004747/0.8326, allocations: 294.4 kB / 0.5825 GB, free: 35.76 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006049/0.8387, allocations: 3.342 MB / 0.5858 GB, free: 33.72 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.8387, allocations: 384 / 0.5858 GB, free: 33.72 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.8387, allocations: 6.875 kB / 0.5858 GB, free: 33.71 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.8389, allocations: 54.42 kB / 0.5859 GB, free: 33.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8389, allocations: 0 / 0.5859 GB, free: 33.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.839, allocations: 5.156 kB / 0.5859 GB, free: 33.66 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.839, allocations: 0 / 0.5859 GB, free: 33.66 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.8391, allocations: 17.23 kB / 0.5859 GB, free: 33.65 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.8405, allocations: 1.009 MB / 0.5869 GB, free: 32.98 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.8407, allocations: 51.02 kB / 0.5869 GB, free: 32.94 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.8408, allocations: 25.47 kB / 0.5869 GB, free: 32.92 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.8408, allocations: 5.125 kB / 0.5869 GB, free: 32.91 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001756/0.841, allocations: 68.3 kB / 0.587 GB, free: 32.85 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.841, allocations: 3.938 kB / 0.587 GB, free: 32.84 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0007328/0.8417, allocations: 379.3 kB / 0.5874 GB, free: 32.63 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.8418, allocations: 52.84 kB / 0.5874 GB, free: 32.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.8449, allocations: 3.286 MB / 0.5906 GB, free: 29.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.8449, allocations: 29.7 kB / 0.5907 GB, free: 29.32 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008685/0.8458, allocations: 1.322 MB / 0.592 GB, free: 28 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.8458, allocations: 11.78 kB / 0.592 GB, free: 27.98 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.8459, allocations: 29.61 kB / 0.592 GB, free: 27.95 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.846, allocations: 310 kB / 0.5923 GB, free: 27.64 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.846, allocations: 15.98 kB / 0.5923 GB, free: 27.62 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.417e-05/0.8461, allocations: 25.7 kB / 0.5923 GB, free: 27.59 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/0.8462, allocations: 49.7 kB / 0.5924 GB, free: 27.54 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8462, allocations: 0 / 0.5924 GB, free: 27.54 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000391/0.8466, allocations: 369.7 kB / 0.5927 GB, free: 27.17 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.8466, allocations: 8 kB / 0.5927 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8466, allocations: 0 / 0.5927 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.8467, allocations: 0 / 0.5927 GB, free: 27.16 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.655e-05/0.8468, allocations: 16.23 kB / 0.5927 GB, free: 27.14 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.8468, allocations: 4 kB / 0.5928 GB, free: 27.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.847, allocations: 12.03 kB / 0.5928 GB, free: 27.13 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.847, allocations: 12 kB / 0.5928 GB, free: 27.12 MB / 462.3 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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.000632/0.8477, allocations: 0.7042 MB / 0.5935 GB, free: 26.4 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.8479, allocations: 304.2 kB / 0.5938 GB, free: 26.1 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.8482, allocations: 337.8 kB / 0.5941 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.8482, allocations: 4 kB / 0.5941 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.8483, allocations: 0 / 0.5941 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8483, allocations: 0 / 0.5941 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.8493, allocations: 1.094 MB / 0.5951 GB, free: 24.63 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8493, allocations: 3.984 kB / 0.5952 GB, free: 24.63 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.188e-05/0.8493, allocations: 8 kB / 0.5952 GB, free: 24.62 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8493, allocations: 0 / 0.5952 GB, free: 24.62 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.8494, allocations: 4 kB / 0.5952 GB, free: 24.62 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.8494, allocations: 0 / 0.5952 GB, free: 24.62 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8494, allocations: 0 / 0.5952 GB, free: 24.62 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.8498, allocations: 419.5 kB / 0.5956 GB, free: 24.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.8502, allocations: 305.2 kB / 0.5959 GB, free: 23.87 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.8503, allocations: 19.92 kB / 0.5959 GB, free: 23.85 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.8505, allocations: 12 kB / 0.5959 GB, free: 23.84 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.8506, allocations: 4 kB / 0.5959 GB, free: 23.83 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.8506, allocations: 4 kB / 0.5959 GB, free: 23.83 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.002081/0.8527, allocations: 2.267 MB / 0.5981 GB, free: 21.58 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8527, allocations: 0 / 0.5981 GB, free: 21.58 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003669/0.8531, allocations: 88 kB / 0.5982 GB, free: 21.5 MB / 462.3 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.001129/0.8542, allocations: 425.6 kB / 0.5986 GB, free: 21.23 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.8544, allocations: 39.98 kB / 0.5986 GB, free: 21.2 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.8544, allocations: 0 / 0.5986 GB, free: 21.2 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 6.366e-05/0.8545, allocations: 19.94 kB / 0.5987 GB, free: 21.18 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008998/0.8554, allocations: 248.8 kB / 0.5989 GB, free: 20.93 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004884/0.8603, allocations: 4.195 MB / 0.603 GB, free: 16.69 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/0.8613, allocations: 1.699 MB / 0.6046 GB, free: 14.96 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001163/0.8625, allocations: 0.7097 MB / 0.6053 GB, free: 14.24 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.8629, allocations: 299.2 kB / 0.6056 GB, free: 13.95 MB / 462.3 MB Notification: Performance of SimCode: time 1.823e-06/0.8629, allocations: 0 / 0.6056 GB, free: 13.95 MB / 462.3 MB Notification: Performance of Templates: time 0.02105/0.884, allocations: 8.375 MB / 0.6138 GB, free: 5.605 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches