Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.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_500,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000786/0.0007857, allocations: 89.17 kB / 16.31 MB, free: 5.676 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.0008734/0.0008734, allocations: 183.8 kB / 17.21 MB, free: 5.594 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.425/1.425, allocations: 223.2 MB / 241.2 MB, free: 272 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.207/1.207, allocations: 120.5 MB / 412.8 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003254/0.0003254, allocations: 8 kB / 0.4943 GB, free: 11.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6921/0.6925, allocations: 82.84 MB / 0.5752 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500): time 0.002104/0.6946, allocations: 1.262 MB / 0.5764 GB, free: 40.93 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.696, allocations: 0.816 MB / 0.5772 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.291e-05/0.6961, allocations: 1.375 kB / 0.5772 GB, free: 40.29 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.6971, allocations: 0.9882 MB / 0.5782 GB, free: 39.86 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0007417/0.6979, allocations: 0.5556 MB / 0.5787 GB, free: 39.61 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.6982, allocations: 90.16 kB / 0.5788 GB, free: 39.55 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.6994, allocations: 0.9907 MB / 0.5798 GB, free: 38.99 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.124e-05/0.6994, allocations: 8.578 kB / 0.5798 GB, free: 38.99 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006407/0.7001, allocations: 0.6024 MB / 0.5803 GB, free: 38.71 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.7012, allocations: 1.045 MB / 0.5814 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.7014, allocations: 63.59 kB / 0.5814 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.7016, allocations: 84.25 kB / 0.5815 GB, free: 38.29 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.002648/0.7043, allocations: 2.515 MB / 0.584 GB, free: 37.08 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.7049, allocations: 0.519 MB / 0.5845 GB, free: 36.68 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.7067, allocations: 2.311 MB / 0.5867 GB, free: 34.53 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7067, allocations: 0 / 0.5867 GB, free: 34.53 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.605e-06/0.7067, allocations: 0 / 0.5867 GB, free: 34.53 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.172e-05/0.7068, allocations: 0 / 0.5867 GB, free: 34.53 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.003799/0.7106, allocations: 4.655 MB / 0.5913 GB, free: 29.79 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7106, allocations: 12.03 kB / 0.5913 GB, free: 29.78 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.711, allocations: 0.5629 MB / 0.5918 GB, free: 29.21 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008063/0.7191, allocations: 6.237 MB / 0.5979 GB, free: 22.9 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.7192, allocations: 7.984 kB / 0.5979 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.7192, allocations: 3.938 kB / 0.5979 GB, free: 22.89 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.7194, allocations: 45.69 kB / 0.598 GB, free: 22.84 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7194, allocations: 4 kB / 0.598 GB, free: 22.83 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.7194, allocations: 7.984 kB / 0.598 GB, free: 22.82 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.7194, allocations: 0 / 0.598 GB, free: 22.82 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.577e-05/0.7195, allocations: 15.95 kB / 0.598 GB, free: 22.81 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.7213, allocations: 1.855 MB / 0.5998 GB, free: 20.91 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.7214, allocations: 58.55 kB / 0.5999 GB, free: 20.84 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.7215, allocations: 16.86 kB / 0.5999 GB, free: 20.82 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.7215, allocations: 7.984 kB / 0.5999 GB, free: 20.81 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.7217, allocations: 67.38 kB / 0.6 GB, free: 20.73 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.7217, allocations: 0 / 0.6 GB, free: 20.73 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0007334/0.7225, allocations: 0.6543 MB / 0.6006 GB, free: 20.07 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.7225, allocations: 51.41 kB / 0.6007 GB, free: 20 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005471/0.728, allocations: 6.43 MB / 0.6069 GB, free: 13.62 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.728, allocations: 33.7 kB / 0.607 GB, free: 13.58 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.7297, allocations: 2.664 MB / 0.6096 GB, free: 10.91 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.7298, allocations: 15.8 kB / 0.6096 GB, free: 10.89 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.7298, allocations: 0 / 0.6096 GB, free: 10.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.7298, allocations: 310 kB / 0.6099 GB, free: 10.59 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.7299, allocations: 12 kB / 0.6099 GB, free: 10.57 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.785e-05/0.73, allocations: 25.7 kB / 0.6099 GB, free: 10.54 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.285e-05/0.73, allocations: 23.98 kB / 0.6099 GB, free: 10.52 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.73, allocations: 0 / 0.6099 GB, free: 10.52 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006674/0.7307, allocations: 0.6426 MB / 0.6106 GB, free: 9.863 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.7307, allocations: 4 kB / 0.6106 GB, free: 9.859 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7307, allocations: 0 / 0.6106 GB, free: 9.859 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.7308, allocations: 4 kB / 0.6106 GB, free: 9.855 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.7308, allocations: 8 kB / 0.6106 GB, free: 9.848 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7309, allocations: 0 / 0.6106 GB, free: 9.848 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.7312, allocations: 27.94 kB / 0.6106 GB, free: 9.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.7312, allocations: 4.031 kB / 0.6106 GB, free: 9.816 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 ($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.00118/0.7324, allocations: 1.284 MB / 0.6119 GB, free: 8.523 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.7328, allocations: 0.5863 MB / 0.6124 GB, free: 7.93 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004847/0.7333, allocations: 0.652 MB / 0.6131 GB, free: 7.277 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7333, allocations: 320 / 0.6131 GB, free: 7.277 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7333, allocations: 0 / 0.6131 GB, free: 7.277 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.7333, allocations: 0 / 0.6131 GB, free: 7.277 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.7346, allocations: 2.031 MB / 0.6151 GB, free: 5.199 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.7346, allocations: 0 / 0.6151 GB, free: 5.199 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.34e-05/0.7347, allocations: 4 kB / 0.6151 GB, free: 5.195 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.7347, allocations: 4 kB / 0.6151 GB, free: 5.191 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.7347, allocations: 7.922 kB / 0.6151 GB, free: 5.184 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7347, allocations: 0 / 0.6151 GB, free: 5.184 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7347, allocations: 160 / 0.6151 GB, free: 5.184 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.7352, allocations: 0.7289 MB / 0.6158 GB, free: 4.43 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004552/0.7357, allocations: 0.5678 MB / 0.6163 GB, free: 3.836 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/0.7359, allocations: 19.98 kB / 0.6164 GB, free: 3.816 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.7362, allocations: 20 kB / 0.6164 GB, free: 3.797 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.7362, allocations: 4 kB / 0.6164 GB, free: 3.793 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.7362, allocations: 0 / 0.6164 GB, free: 3.793 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.004276/0.7405, allocations: 4.412 MB / 0.6207 GB, free: 15.42 MB / 478.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7405, allocations: 0 / 0.6207 GB, free: 15.42 MB / 478.3 MB Notification: Performance of remove unused functions: time 0.0005454/0.7411, allocations: 168 kB / 0.6208 GB, free: 15.26 MB / 478.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 (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.0009842/0.7421, allocations: 414.2 kB / 0.6212 GB, free: 15 MB / 478.3 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.7423, allocations: 43.92 kB / 0.6213 GB, free: 14.96 MB / 478.3 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7423, allocations: 0 / 0.6213 GB, free: 14.96 MB / 478.3 MB Notification: Performance of simCode: created simulation system equations: time 6.099e-05/0.7424, allocations: 19.98 kB / 0.6213 GB, free: 14.94 MB / 478.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.7434, allocations: 458.4 kB / 0.6217 GB, free: 14.49 MB / 478.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/0.7557, allocations: 8.977 MB / 0.6305 GB, free: 5.48 MB / 478.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.7582, allocations: 2.737 MB / 0.6332 GB, free: 2.719 MB / 478.3 MB Notification: Performance of simCode: alias equations: time 0.003752/0.762, allocations: 1.407 MB / 0.6346 GB, free: 1.305 MB / 478.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.7631, allocations: 0.5694 MB / 0.6351 GB, free: 0.7344 MB / 478.3 MB Notification: Performance of SimCode: time 1.844e-06/0.7631, allocations: 0 / 0.6351 GB, free: 0.7344 MB / 478.3 MB Notification: Performance of Templates: time 0.04539/0.8085, allocations: 15.24 MB / 0.65 GB, free: 1.48 MB / 494.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.pipe 2>&1) diffSimulationResults("ScalableTestSuite_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_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_500.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches