Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00071/0.00071, allocations: 87.33 kB / 16.65 MB, free: 6.535 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.0007941/0.0007943, allocations: 176.4 kB / 17.56 MB, free: 6.18 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.305/1.305, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.901/0.901, allocations: 120.5 MB / 413.2 MB, free: 9.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003104, allocations: 11.98 kB / 0.495 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5631/0.5635, allocations: 82.83 MB / 0.5759 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.001568/0.5651, allocations: 1.291 MB / 0.5772 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.5662, allocations: 0.8535 MB / 0.578 GB, free: 39.76 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.187e-05/0.5663, allocations: 5.031 kB / 0.578 GB, free: 39.76 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.5686, allocations: 3.463 MB / 0.5814 GB, free: 38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.5698, allocations: 1.789 MB / 0.5831 GB, free: 37.09 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.5702, allocations: 91.31 kB / 0.5832 GB, free: 37.04 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003245/0.5734, allocations: 4.345 MB / 0.5875 GB, free: 34.45 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.597e-05/0.5735, allocations: 4 kB / 0.5875 GB, free: 34.44 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/0.5761, allocations: 2.152 MB / 0.5896 GB, free: 32.29 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.5788, allocations: 3.822 MB / 0.5933 GB, free: 28.46 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000485/0.5793, allocations: 252 kB / 0.5935 GB, free: 28.21 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.5798, allocations: 280 kB / 0.5938 GB, free: 27.94 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006507/0.5863, allocations: 9.97 MB / 0.6035 GB, free: 17.94 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.006093/0.5925, allocations: 5.668 MB / 0.6091 GB, free: 12.21 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.00676/0.5992, allocations: 11.87 MB / 0.6207 GB, free: 280 kB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5993, allocations: 0 / 0.6207 GB, free: 280 kB / 462.3 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5993, allocations: 0 / 0.6207 GB, free: 280 kB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0002828/0.5996, allocations: 0 / 0.6207 GB, free: 280 kB / 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.01955/0.6191, allocations: 17.24 MB / 0.6375 GB, free: 14.84 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.6192, allocations: 12.03 kB / 0.6375 GB, free: 14.82 MB / 494.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.784e-05/0.6192, allocations: 30.75 kB / 0.6375 GB, free: 14.79 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.6223, allocations: 2.206 MB / 0.6397 GB, free: 12.55 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04413/0.6664, allocations: 25.86 MB / 0.6649 GB, free: 2.508 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.6665, allocations: 4.375 kB / 0.6649 GB, free: 2.504 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.6665, allocations: 3.938 kB / 0.6649 GB, free: 2.5 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.6667, allocations: 53.67 kB / 0.665 GB, free: 2.441 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.6667, allocations: 4 kB / 0.665 GB, free: 2.438 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6667, allocations: 3.984 kB / 0.665 GB, free: 2.434 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6667, allocations: 0 / 0.665 GB, free: 2.434 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.6668, allocations: 15.98 kB / 0.665 GB, free: 2.418 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/0.6775, allocations: 6.942 MB / 0.6718 GB, free: 11.42 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.6777, allocations: 62.5 kB / 0.6719 GB, free: 11.35 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.6778, allocations: 20.84 kB / 0.6719 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.6778, allocations: 0 / 0.6719 GB, free: 11.33 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.678, allocations: 63.39 kB / 0.6719 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.994e-06/0.678, allocations: 0 / 0.6719 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.003485/0.6815, allocations: 2.351 MB / 0.6742 GB, free: 8.867 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.6816, allocations: 63.39 kB / 0.6743 GB, free: 8.793 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03921/0.7208, allocations: 25.35 MB / 0.6991 GB, free: 15.65 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.7209, allocations: 29.7 kB / 0.6991 GB, free: 15.62 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.012/0.7329, allocations: 11.34 MB / 0.7102 GB, free: 4.27 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.733, allocations: 27.67 kB / 0.7102 GB, free: 4.242 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.733, allocations: 9.719 kB / 0.7102 GB, free: 4.227 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.7332, allocations: 314 kB / 0.7105 GB, free: 3.914 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/0.7333, allocations: 15.98 kB / 0.7105 GB, free: 3.898 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.482e-05/0.7333, allocations: 32.75 kB / 0.7105 GB, free: 3.863 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.7335, allocations: 41.66 kB / 0.7106 GB, free: 3.816 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7335, allocations: 3.938 kB / 0.7106 GB, free: 3.812 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003682/0.7372, allocations: 2.336 MB / 0.7129 GB, free: 1.441 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.7372, allocations: 8 kB / 0.7129 GB, free: 1.434 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7372, allocations: 4.031 kB / 0.7129 GB, free: 1.43 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7372, allocations: 0 / 0.7129 GB, free: 1.43 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.7373, allocations: 11.94 kB / 0.7129 GB, free: 1.418 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.7374, allocations: 0 / 0.7129 GB, free: 1.418 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.7401, allocations: 68 kB / 0.713 GB, free: 1.352 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.7401, allocations: 3.984 kB / 0.713 GB, free: 1.348 MB / 0.5452 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 ($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.006243/0.7464, allocations: 4.762 MB / 0.7176 GB, free: 12.57 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003386/0.7498, allocations: 2.326 MB / 0.7199 GB, free: 10.22 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005203/0.755, allocations: 2.569 MB / 0.7224 GB, free: 7.648 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.755, allocations: 0 / 0.7224 GB, free: 7.648 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.755, allocations: 320 / 0.7224 GB, free: 7.648 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.755, allocations: 0 / 0.7224 GB, free: 7.648 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.7677, allocations: 7.625 MB / 0.7298 GB, free: 15.97 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.7677, allocations: 8 kB / 0.7298 GB, free: 15.96 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.7678, allocations: 3.938 kB / 0.7298 GB, free: 15.96 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.7678, allocations: 4 kB / 0.7298 GB, free: 15.96 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.7678, allocations: 0 / 0.7298 GB, free: 15.96 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.7678, allocations: 0 / 0.7298 GB, free: 15.96 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7678, allocations: 0 / 0.7298 GB, free: 15.96 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/0.7718, allocations: 2.575 MB / 0.7324 GB, free: 13.34 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003736/0.7755, allocations: 1.983 MB / 0.7343 GB, free: 11.3 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/0.7776, allocations: 68 kB / 0.7344 GB, free: 11.24 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002194/0.7798, allocations: 64 kB / 0.7344 GB, free: 11.18 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.7799, allocations: 7.984 kB / 0.7344 GB, free: 11.17 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.7799, allocations: 0 / 0.7344 GB, free: 11.17 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.02865/0.8085, allocations: 17.51 MB / 0.7515 GB, free: 9.809 MB / 0.5921 GB Notification: Performance of sort global known variables: time 2.765e-06/0.8086, allocations: 4 kB / 0.7515 GB, free: 9.805 MB / 0.5921 GB Notification: Performance of remove unused functions: time 0.00381/0.8124, allocations: 0.6328 MB / 0.7522 GB, free: 9.172 MB / 0.5921 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.005838/0.8183, allocations: 3.577 MB / 0.7556 GB, free: 5.699 MB / 0.5921 GB Notification: Performance of simCode: created initialization part: time 0.0001972/0.8185, allocations: 35.98 kB / 0.7557 GB, free: 5.664 MB / 0.5921 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.8185, allocations: 4.062 kB / 0.7557 GB, free: 5.66 MB / 0.5921 GB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.8186, allocations: 23.92 kB / 0.7557 GB, free: 5.637 MB / 0.5921 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00869/0.8273, allocations: 1.718 MB / 0.7574 GB, free: 3.918 MB / 0.5921 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.868/2.696, allocations: 373 MB / 1.122 GB, free: 159.6 MB / 0.6861 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0143/2.71, allocations: 8.926 MB / 1.13 GB, free: 150.7 MB / 0.6861 GB Notification: Performance of simCode: alias equations: time 0.01609/2.726, allocations: 5.659 MB / 1.136 GB, free: 145.3 MB / 0.6861 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01152/2.738, allocations: 10.38 MB / 1.146 GB, free: 134.9 MB / 0.6861 GB Notification: Performance of SimCode: time 1.222e-06/2.738, allocations: 0 / 1.146 GB, free: 134.9 MB / 0.6861 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6837/3.421, allocations: 282.4 MB / 1.422 GB, free: 77.52 MB / 0.6861 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/3.422, allocations: 290.5 kB / 1.422 GB, free: 77.14 MB / 0.6861 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/13.96, allocations: 0 / 1.422 GB, free: 77.14 MB / 0.6861 GB (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_2000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches