Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.001423/0.001423, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001604/0.001604, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 8.008 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 1.023/1.023, allocations: 120.6 MB / 434.5 MB, free: 0.8398 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.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_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.001994/0.001994, allocations: 67.89 kB / 0.6068 GB, free: 10.93 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.163, allocations: 85.86 MB / 0.6906 GB, free: 4.859 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000): time 0.003111/0.1661, allocations: 1.431 MB / 0.692 GB, free: 3.422 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1674, allocations: 0.6037 MB / 0.6926 GB, free: 2.812 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.1675, allocations: 4 kB / 0.6926 GB, free: 2.809 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.1683, allocations: 0.8654 MB / 0.6934 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0009261/0.1692, allocations: 0.916 MB / 0.6943 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.1696, allocations: 82.16 kB / 0.6944 GB, free: 0.9453 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.1716, allocations: 2.185 MB / 0.6966 GB, free: 14.75 MB / 0.5295 GB Notification: Performance of NFFlatten.resolveConnections: time 5.119e-05/0.1716, allocations: 15.78 kB / 0.6966 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.1732, allocations: 1.096 MB / 0.6976 GB, free: 13.64 MB / 0.5295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002764/0.176, allocations: 2.285 MB / 0.6999 GB, free: 11.36 MB / 0.5295 GB Notification: Performance of NFPackage.collectConstants: time 0.0004337/0.1764, allocations: 132 kB / 0.7 GB, free: 11.23 MB / 0.5295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.1769, allocations: 207.9 kB / 0.7002 GB, free: 11.02 MB / 0.5295 GB Notification: Performance of NFScalarize.scalarize: time 0.006276/0.1832, allocations: 5.178 MB / 0.7052 GB, free: 5.832 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.003975/0.1871, allocations: 2.828 MB / 0.708 GB, free: 2.977 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.007131/0.1943, allocations: 6.305 MB / 0.7142 GB, free: 12.63 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.1943, allocations: 0 / 0.7142 GB, free: 12.63 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.993e-06/0.1943, allocations: 4 kB / 0.7142 GB, free: 12.62 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.0002118/0.1945, allocations: 0 / 0.7142 GB, free: 12.62 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01454/0.209, allocations: 10.31 MB / 0.7242 GB, free: 2.191 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.2091, allocations: 12.03 kB / 0.7243 GB, free: 2.18 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.2091, allocations: 38.73 kB / 0.7243 GB, free: 2.133 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001893/0.211, allocations: 1.165 MB / 0.7254 GB, free: 0.9609 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02733/0.2384, allocations: 13.02 MB / 0.7381 GB, free: 3.797 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.2384, allocations: 384 / 0.7381 GB, free: 3.797 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.2385, allocations: 36.36 kB / 0.7382 GB, free: 3.762 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/0.2392, allocations: 429.4 kB / 0.7386 GB, free: 3.336 MB / 0.5608 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.2392, allocations: 0 / 0.7386 GB, free: 3.336 MB / 0.5608 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.2393, allocations: 32 kB / 0.7386 GB, free: 3.305 MB / 0.5608 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.2393, allocations: 4 kB / 0.7386 GB, free: 3.301 MB / 0.5608 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.2397, allocations: 240 kB / 0.7388 GB, free: 3.066 MB / 0.5608 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.2461, allocations: 3.544 MB / 0.7423 GB, free: 15.48 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005108/0.2466, allocations: 158.5 kB / 0.7425 GB, free: 15.32 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.247, allocations: 144.9 kB / 0.7426 GB, free: 15.17 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 9.507e-06/0.247, allocations: 0 / 0.7426 GB, free: 15.17 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006252/0.2476, allocations: 420.7 kB / 0.743 GB, free: 14.74 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=8): time 2.284e-06/0.2476, allocations: 4 kB / 0.743 GB, free: 14.74 MB / 0.5764 GB Notification: Performance of matching and sorting (n=8): time 0.003537/0.2511, allocations: 2.253 MB / 0.7452 GB, free: 12.47 MB / 0.5764 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.2512, allocations: 81.11 kB / 0.7453 GB, free: 12.37 MB / 0.5764 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6133/0.8645, allocations: 12.46 MB / 0.7574 GB, free: 53.38 MB / 0.5767 GB Notification: Performance of collectPreVariables (initialization): time 0.0002964/0.8648, allocations: 57.73 kB / 0.7575 GB, free: 53.35 MB / 0.5767 GB Notification: Performance of collectInitialEqns (initialization): time 0.005929/0.8708, allocations: 5.21 MB / 0.7626 GB, free: 49.87 MB / 0.5767 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003121/0.8711, allocations: 43.48 kB / 0.7626 GB, free: 49.87 MB / 0.5767 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/0.8713, allocations: 243 kB / 0.7629 GB, free: 49.85 MB / 0.5767 GB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.8714, allocations: 312.7 kB / 0.7632 GB, free: 49.55 MB / 0.5767 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.8716, allocations: 141.8 kB / 0.7633 GB, free: 49.54 MB / 0.5767 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.8719, allocations: 139.2 kB / 0.7634 GB, free: 49.54 MB / 0.5767 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.8724, allocations: 354.9 kB / 0.7638 GB, free: 49.45 MB / 0.5767 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.8724, allocations: 1.188 kB / 0.7638 GB, free: 49.45 MB / 0.5767 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003565/0.876, allocations: 2.114 MB / 0.7658 GB, free: 49.36 MB / 0.5767 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.8761, allocations: 40.22 kB / 0.7659 GB, free: 49.33 MB / 0.5767 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8761, allocations: 0 / 0.7659 GB, free: 49.33 MB / 0.5767 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.8761, allocations: 1.969 kB / 0.7659 GB, free: 49.33 MB / 0.5767 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.196e-05/0.8762, allocations: 8.375 kB / 0.7659 GB, free: 49.33 MB / 0.5767 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.8762, allocations: 4.562 kB / 0.7659 GB, free: 49.33 MB / 0.5767 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/0.8778, allocations: 35.56 kB / 0.7659 GB, free: 49.33 MB / 0.5767 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004659/0.8783, allocations: 441.5 kB / 0.7663 GB, free: 49.27 MB / 0.5767 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.004566/0.8828, allocations: 2.529 MB / 0.7688 GB, free: 48.88 MB / 0.5767 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001796/0.8846, allocations: 1.199 MB / 0.77 GB, free: 48.87 MB / 0.5767 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.8869, allocations: 1.288 MB / 0.7712 GB, free: 48.49 MB / 0.5767 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8869, allocations: 1.062 kB / 0.7712 GB, free: 48.49 MB / 0.5767 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.887, allocations: 0.5 kB / 0.7712 GB, free: 48.49 MB / 0.5767 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.887, allocations: 6.031 kB / 0.7712 GB, free: 48.49 MB / 0.5767 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/0.8931, allocations: 3.862 MB / 0.775 GB, free: 47.15 MB / 0.5767 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8931, allocations: 0.75 kB / 0.775 GB, free: 47.15 MB / 0.5767 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.8931, allocations: 6.781 kB / 0.775 GB, free: 47.15 MB / 0.5767 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.8931, allocations: 0.5625 kB / 0.775 GB, free: 47.15 MB / 0.5767 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003535/0.8935, allocations: 101.1 kB / 0.7751 GB, free: 47.15 MB / 0.5767 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8935, allocations: 0 / 0.7751 GB, free: 47.15 MB / 0.5767 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.8935, allocations: 1.641 kB / 0.7751 GB, free: 47.15 MB / 0.5767 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/0.8969, allocations: 2.226 MB / 0.7773 GB, free: 46.28 MB / 0.5767 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/0.8991, allocations: 1.023 MB / 0.7783 GB, free: 45.59 MB / 0.5767 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/0.9001, allocations: 38.88 kB / 0.7783 GB, free: 45.59 MB / 0.5767 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/0.901, allocations: 33.83 kB / 0.7784 GB, free: 45.59 MB / 0.5767 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.901, allocations: 7.953 kB / 0.7784 GB, free: 45.59 MB / 0.5767 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000442/0.9015, allocations: 442.9 kB / 0.7788 GB, free: 45.52 MB / 0.5767 GB Notification: Performance of sorting global known variables: time 0.01625/0.9177, allocations: 8.569 MB / 0.7872 GB, free: 43.46 MB / 0.5767 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9177, allocations: 3.562 kB / 0.7872 GB, free: 43.46 MB / 0.5767 GB Notification: Performance of remove unused functions: time 0.001744/0.9195, allocations: 344.2 kB / 0.7875 GB, free: 43.46 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: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.002648/0.9221, allocations: 2.87 MB / 0.7903 GB, free: 42.12 MB / 0.5767 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.9226, allocations: 388.9 kB / 0.7907 GB, free: 42.04 MB / 0.5767 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9226, allocations: 0 / 0.7907 GB, free: 42.04 MB / 0.5767 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.9229, allocations: 238.4 kB / 0.7909 GB, free: 41.97 MB / 0.5767 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.9251, allocations: 0.8578 MB / 0.7917 GB, free: 41.43 MB / 0.5767 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09168/1.017, allocations: 65.07 MB / 0.8553 GB, free: 11.32 MB / 0.6079 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006095/1.023, allocations: 4.785 MB / 0.86 GB, free: 6.504 MB / 0.6079 GB Notification: Performance of simCode: alias equations: time 0.005473/1.028, allocations: 2.383 MB / 0.8623 GB, free: 4.133 MB / 0.6079 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005774/1.034, allocations: 4.401 MB / 0.8666 GB, free: 15.73 MB / 0.6235 GB Notification: Performance of SimCode: time 1.773e-06/1.034, allocations: 0 / 0.8666 GB, free: 15.73 MB / 0.6235 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2942/1.328, allocations: 157.8 MB / 1.021 GB, free: 1.855 MB / 0.7642 GB Notification: Performance of buildModelFMU: Generate platform static: time 71.94/73.27, allocations: 8.438 kB / 1.021 GB, free: 1.848 MB / 0.7642 GB " [Timeout remaining time 227] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_ScaledExperiments_TimeTable_N_1000.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_1000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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: 80.24061900284141]