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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 210.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.348/1.348, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9224/0.9224, allocations: 120.6 MB / 434.5 MB, free: 0.6289 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002131/0.002131, allocations: 71.89 kB / 0.6067 GB, free: 10.73 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1461, allocations: 85.86 MB / 0.6905 GB, free: 4.668 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000): time 0.003091/0.1492, allocations: 1.595 MB / 0.6921 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.151, allocations: 0.9861 MB / 0.693 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.851e-05/0.1511, allocations: 0 / 0.693 GB, free: 2.07 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.1526, allocations: 1.75 MB / 0.6948 GB, free: 324 kB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.1537, allocations: 0.9977 MB / 0.6957 GB, free: 15.32 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002086/0.1539, allocations: 75.67 kB / 0.6958 GB, free: 15.24 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.001941/0.1558, allocations: 2.239 MB / 0.698 GB, free: 13 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.1559, allocations: 3.938 kB / 0.698 GB, free: 13 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001445/0.1573, allocations: 1.115 MB / 0.6991 GB, free: 11.88 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002285/0.1596, allocations: 2.301 MB / 0.7013 GB, free: 9.574 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002759/0.1599, allocations: 128 kB / 0.7015 GB, free: 9.449 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003418/0.1602, allocations: 160 kB / 0.7016 GB, free: 9.293 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.005725/0.1659, allocations: 5.19 MB / 0.7067 GB, free: 4.09 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.1681, allocations: 2.041 MB / 0.7087 GB, free: 2.027 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.005751/0.1739, allocations: 6.449 MB / 0.715 GB, free: 11.54 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.1739, allocations: 0 / 0.715 GB, free: 11.54 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1739, allocations: 0 / 0.715 GB, free: 11.54 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0001447/0.174, allocations: 0 / 0.715 GB, free: 11.54 MB / 0.5452 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.01301/0.1871, allocations: 10.34 MB / 0.7251 GB, free: 1.074 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1871, allocations: 8.031 kB / 0.7251 GB, free: 1.066 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.741e-05/0.1871, allocations: 30.75 kB / 0.7251 GB, free: 1.027 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.1886, allocations: 1.169 MB / 0.7262 GB, free: 15.85 MB / 0.5608 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/0.2112, allocations: 13.04 MB / 0.739 GB, free: 2.66 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.2112, allocations: 384 / 0.739 GB, free: 2.66 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.2113, allocations: 11.94 kB / 0.739 GB, free: 2.648 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2114, allocations: 49.61 kB / 0.739 GB, free: 2.594 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2114, allocations: 0 / 0.739 GB, free: 2.594 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2115, allocations: 7.984 kB / 0.739 GB, free: 2.586 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2115, allocations: 4 kB / 0.739 GB, free: 2.582 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.869e-05/0.2115, allocations: 15.98 kB / 0.7391 GB, free: 2.566 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00461/0.2161, allocations: 3.521 MB / 0.7425 GB, free: 15 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.2163, allocations: 58.55 kB / 0.7426 GB, free: 14.93 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.2164, allocations: 24.84 kB / 0.7426 GB, free: 14.9 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.2164, allocations: 0 / 0.7426 GB, free: 14.9 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.2166, allocations: 67.33 kB / 0.7426 GB, free: 14.82 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.2166, allocations: 0 / 0.7426 GB, free: 14.82 MB / 0.5764 GB Notification: Performance of matching and sorting (n=5): time 0.001967/0.2186, allocations: 1.287 MB / 0.7439 GB, free: 13.52 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.2186, allocations: 55.39 kB / 0.744 GB, free: 13.46 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/0.2349, allocations: 12.76 MB / 0.7564 GB, free: 0.7852 MB / 0.5764 GB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.2349, allocations: 37.62 kB / 0.7564 GB, free: 0.7422 MB / 0.5764 GB Notification: Performance of collectInitialEqns (initialization): time 0.4781/0.713, allocations: 5.178 MB / 0.7615 GB, free: 53.24 MB / 0.5767 GB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.7131, allocations: 14.12 kB / 0.7615 GB, free: 53.24 MB / 0.5767 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.7131, allocations: 23.16 kB / 0.7615 GB, free: 53.22 MB / 0.5767 GB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.7132, allocations: 309 kB / 0.7618 GB, free: 52.91 MB / 0.5767 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.677e-05/0.7132, allocations: 15.48 kB / 0.7619 GB, free: 52.91 MB / 0.5767 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.7133, allocations: 31.33 kB / 0.7619 GB, free: 52.89 MB / 0.5767 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.7134, allocations: 48.39 kB / 0.7619 GB, free: 52.86 MB / 0.5767 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7134, allocations: 7.531 kB / 0.7619 GB, free: 52.86 MB / 0.5767 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001943/0.7154, allocations: 1.267 MB / 0.7632 GB, free: 52.82 MB / 0.5767 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.7154, allocations: 5.5 kB / 0.7632 GB, free: 52.82 MB / 0.5767 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.7154, allocations: 1.609 kB / 0.7632 GB, free: 52.82 MB / 0.5767 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.7154, allocations: 0.9062 kB / 0.7632 GB, free: 52.82 MB / 0.5767 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.382e-05/0.7155, allocations: 11 kB / 0.7632 GB, free: 52.82 MB / 0.5767 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.7155, allocations: 3.031 kB / 0.7632 GB, free: 52.82 MB / 0.5767 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/0.7164, allocations: 39.89 kB / 0.7632 GB, free: 52.82 MB / 0.5767 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.7164, allocations: 3.281 kB / 0.7632 GB, free: 52.82 MB / 0.5767 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.003546/0.72, allocations: 2.441 MB / 0.7656 GB, free: 52.45 MB / 0.5767 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001305/0.7213, allocations: 1.232 MB / 0.7668 GB, free: 52.45 MB / 0.5767 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.7233, allocations: 1.375 MB / 0.7682 GB, free: 52.03 MB / 0.5767 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7233, allocations: 4.594 kB / 0.7682 GB, free: 52.03 MB / 0.5767 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7233, allocations: 0.5 kB / 0.7682 GB, free: 52.03 MB / 0.5767 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7233, allocations: 1.328 kB / 0.7682 GB, free: 52.03 MB / 0.5767 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004545/0.7278, allocations: 3.866 MB / 0.7719 GB, free: 50.68 MB / 0.5767 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7278, allocations: 0 / 0.7719 GB, free: 50.68 MB / 0.5767 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.7279, allocations: 9.781 kB / 0.772 GB, free: 50.68 MB / 0.5767 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.7279, allocations: 0.9375 kB / 0.772 GB, free: 50.68 MB / 0.5767 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.7279, allocations: 1.547 kB / 0.772 GB, free: 50.68 MB / 0.5767 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.7279, allocations: 4.844 kB / 0.772 GB, free: 50.67 MB / 0.5767 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7279, allocations: 0.6562 kB / 0.772 GB, free: 50.67 MB / 0.5767 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.7298, allocations: 1.4 MB / 0.7733 GB, free: 49.84 MB / 0.5767 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.7312, allocations: 0.9335 MB / 0.7742 GB, free: 49.15 MB / 0.5767 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005361/0.7317, allocations: 33.47 kB / 0.7743 GB, free: 49.15 MB / 0.5767 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006168/0.7323, allocations: 38.03 kB / 0.7743 GB, free: 49.15 MB / 0.5767 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.7323, allocations: 4.641 kB / 0.7743 GB, free: 49.15 MB / 0.5767 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.7324, allocations: 10.42 kB / 0.7743 GB, free: 49.14 MB / 0.5767 GB Notification: Performance of sorting global known variables: time 0.01351/0.7459, allocations: 8.77 MB / 0.7829 GB, free: 46.79 MB / 0.5767 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7459, allocations: 1.375 kB / 0.7829 GB, free: 46.79 MB / 0.5767 GB Notification: Performance of remove unused functions: time 0.001296/0.7472, allocations: 334.9 kB / 0.7832 GB, free: 46.78 MB / 0.5767 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 (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.002724/0.7499, allocations: 2.342 MB / 0.7855 GB, free: 45.4 MB / 0.5767 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.7501, allocations: 43.66 kB / 0.7855 GB, free: 45.39 MB / 0.5767 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7501, allocations: 0 / 0.7855 GB, free: 45.39 MB / 0.5767 GB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.7501, allocations: 28.45 kB / 0.7856 GB, free: 45.37 MB / 0.5767 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/0.7521, allocations: 0.879 MB / 0.7864 GB, free: 44.82 MB / 0.5767 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08083/0.833, allocations: 64.05 MB / 0.849 GB, free: 15.32 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006612/0.8396, allocations: 4.353 MB / 0.8532 GB, free: 10.94 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.006441/0.846, allocations: 2.829 MB / 0.856 GB, free: 8.098 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006447/0.8525, allocations: 4.974 MB / 0.8608 GB, free: 3.121 MB / 0.6079 GB Notification: Performance of SimCode: time 1.112e-06/0.8525, allocations: 0 / 0.8608 GB, free: 3.121 MB / 0.6079 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2622/1.115, allocations: 148.1 MB / 1.005 GB, free: 14.91 MB / 0.7642 GB Notification: Performance of buildModelFMU: Generate platform static: time 52.14/53.26, allocations: 11.92 kB / 1.005 GB, free: 14.9 MB / 0.7642 GB " [Timeout remaining time 246] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_CombiTimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_1000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 59.77690705191344]