Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001649/0.001648, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009402/0.0009403, allocations: 87.28 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8267/0.8267, allocations: 120.5 MB / 463.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003477, allocations: 8 kB / 0.5433 GB, free: 42.38 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 82.85 MB / 0.6242 GB, free: 9.203 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8205/0.9853, allocations: 129.2 MB / 0.7504 GB, free: 4.633 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001224/0.9855, allocations: 51.03 kB / 0.7505 GB, free: 4.609 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.2355/1.221, allocations: 69.05 MB / 0.8179 GB, free: 2.766 MB / 0.5732 GB Notification: Performance of FrontEnd: time 2.555e-06/1.221, allocations: 0 / 0.8179 GB, free: 2.766 MB / 0.5732 GB Notification: Performance of Transformations before backend: time 0.001261/1.222, allocations: 128 kB / 0.818 GB, free: 2.641 MB / 0.5732 GB 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.02136/1.244, allocations: 8.985 MB / 0.8268 GB, free: 10.04 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.244, allocations: 15.97 kB / 0.8268 GB, free: 10.02 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/1.246, allocations: 1.138 MB / 0.8279 GB, free: 8.867 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02791/1.274, allocations: 11.33 MB / 0.839 GB, free: 14.78 MB / 0.6044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/1.274, allocations: 0 / 0.839 GB, free: 14.78 MB / 0.6044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/1.274, allocations: 0 / 0.839 GB, free: 14.78 MB / 0.6044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/1.274, allocations: 49.61 kB / 0.8391 GB, free: 14.73 MB / 0.6044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/1.274, allocations: 0 / 0.8391 GB, free: 14.73 MB / 0.6044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/1.274, allocations: 0 / 0.8391 GB, free: 14.73 MB / 0.6044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.274, allocations: 3.781 kB / 0.8391 GB, free: 14.73 MB / 0.6044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/1.275, allocations: 19.86 kB / 0.8391 GB, free: 14.71 MB / 0.6044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006596/1.281, allocations: 3.568 MB / 0.8426 GB, free: 12.09 MB / 0.6044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/1.281, allocations: 57.67 kB / 0.8426 GB, free: 12.04 MB / 0.6044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/1.281, allocations: 0 / 0.8426 GB, free: 12.04 MB / 0.6044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/1.282, allocations: 63.3 kB / 0.8427 GB, free: 11.97 MB / 0.6044 GB Notification: Performance of pre-optimization done (n=5): time 1.813e-06/1.282, allocations: 4 kB / 0.8427 GB, free: 11.96 MB / 0.6044 GB Notification: Performance of matching and sorting (n=5): time 0.001924/1.283, allocations: 1.224 MB / 0.8439 GB, free: 10.73 MB / 0.6044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/1.284, allocations: 59.34 kB / 0.8439 GB, free: 10.66 MB / 0.6044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01868/1.302, allocations: 10.99 MB / 0.8547 GB, free: 1.75 MB / 0.6044 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/1.302, allocations: 25.7 kB / 0.8547 GB, free: 1.719 MB / 0.6044 GB Notification: Performance of collectInitialEqns (initialization): time 0.004598/1.307, allocations: 5.189 MB / 0.8598 GB, free: 476 kB / 0.6044 GB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/1.307, allocations: 19.61 kB / 0.8598 GB, free: 460 kB / 0.6044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/1.307, allocations: 0 / 0.8598 GB, free: 460 kB / 0.6044 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.307, allocations: 310 kB / 0.8601 GB, free: 144 kB / 0.6044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/1.307, allocations: 15.86 kB / 0.8601 GB, free: 132 kB / 0.6044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/1.307, allocations: 33.45 kB / 0.8601 GB, free: 100 kB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.962e-05/1.307, allocations: 15.75 kB / 0.8601 GB, free: 88 kB / 0.6044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.307, allocations: 0 / 0.8601 GB, free: 88 kB / 0.6044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.002003/1.309, allocations: 1.213 MB / 0.8613 GB, free: 14.86 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.309, allocations: 10.97 kB / 0.8613 GB, free: 14.86 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.309, allocations: 4.031 kB / 0.8613 GB, free: 14.85 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.309, allocations: 0 / 0.8613 GB, free: 14.85 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.53e-05/1.31, allocations: 8 kB / 0.8613 GB, free: 14.84 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/1.31, allocations: 4 kB / 0.8613 GB, free: 14.84 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007783/1.31, allocations: 43.7 kB / 0.8614 GB, free: 14.8 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/1.31, allocations: 4 kB / 0.8614 GB, free: 14.8 MB / 0.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003873/1.314, allocations: 2.432 MB / 0.8638 GB, free: 12.6 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.315, allocations: 1.165 MB / 0.8649 GB, free: 11.42 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/1.318, allocations: 1.377 MB / 0.8662 GB, free: 10.29 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/1.318, allocations: 0 / 0.8662 GB, free: 10.29 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.318, allocations: 0 / 0.8662 GB, free: 10.29 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.318, allocations: 7.953 kB / 0.8663 GB, free: 10.29 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/1.323, allocations: 3.9 MB / 0.8701 GB, free: 7.328 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.323, allocations: 0 / 0.8701 GB, free: 7.328 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/1.323, allocations: 11.94 kB / 0.8701 GB, free: 7.316 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.323, allocations: 0 / 0.8701 GB, free: 7.316 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.323, allocations: 4 kB / 0.8701 GB, free: 7.312 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/1.323, allocations: 0 / 0.8701 GB, free: 7.312 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.323, allocations: 0 / 0.8701 GB, free: 7.312 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/1.325, allocations: 1.343 MB / 0.8714 GB, free: 5.957 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/1.327, allocations: 1.037 MB / 0.8724 GB, free: 4.891 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/1.327, allocations: 39.98 kB / 0.8724 GB, free: 4.852 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006005/1.328, allocations: 39.92 kB / 0.8725 GB, free: 4.812 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/1.328, allocations: 4 kB / 0.8725 GB, free: 4.809 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/1.328, allocations: 0 / 0.8725 GB, free: 4.809 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.01499/1.343, allocations: 8.736 MB / 0.881 GB, free: 13.88 MB / 0.6357 GB Notification: Performance of sort global known variables: time 4.1e-07/1.343, allocations: 4 kB / 0.881 GB, free: 13.87 MB / 0.6357 GB Notification: Performance of remove unused functions: time 0.001531/1.344, allocations: 336 kB / 0.8813 GB, free: 13.54 MB / 0.6357 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009659/1.345, allocations: 424 kB / 0.8817 GB, free: 13.29 MB / 0.6357 GB Notification: Performance of simCode: created initialization part: time 0.0002082/1.346, allocations: 39.67 kB / 0.8818 GB, free: 13.26 MB / 0.6357 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.346, allocations: 3.938 kB / 0.8818 GB, free: 13.25 MB / 0.6357 GB Notification: Performance of simCode: created simulation system equations: time 6.502e-05/1.346, allocations: 23.8 kB / 0.8818 GB, free: 13.23 MB / 0.6357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/1.348, allocations: 0.8443 MB / 0.8826 GB, free: 12.88 MB / 0.6357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02704/1.375, allocations: 18.14 MB / 0.9003 GB, free: 11.32 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/1.381, allocations: 4.989 MB / 0.9052 GB, free: 6.547 MB / 0.6513 GB Notification: Performance of simCode: alias equations: time 0.007896/1.388, allocations: 2.833 MB / 0.908 GB, free: 3.82 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0022/1.391, allocations: 1.117 MB / 0.9091 GB, free: 2.891 MB / 0.6513 GB Notification: Performance of SimCode: time 1.923e-06/1.391, allocations: 3.938 kB / 0.9091 GB, free: 2.887 MB / 0.6513 GB Notification: Performance of Templates: time 0.09509/1.486, allocations: 30.09 MB / 0.9385 GB, free: 4.832 MB / 0.6825 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