Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 123.2 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002581/0.002581, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8044/0.8044, allocations: 120.6 MB / 424.6 MB, free: 5.551 MB / 350.1 MB " [Timeout remaining time 179] 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.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.TimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.89 kB / 0.5932 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6574, allocations: 84.65 MB / 0.6759 GB, free: 9.574 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002797/0.6602, allocations: 1.415 MB / 0.6772 GB, free: 8.152 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.6613, allocations: 0.5764 MB / 0.6778 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.85e-05/0.6614, allocations: 0 / 0.6778 GB, free: 7.57 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001791/0.6616, allocations: 15.92 kB / 0.6778 GB, free: 7.555 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.6619, allocations: 67.81 kB / 0.6779 GB, free: 7.488 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.6622, allocations: 79.77 kB / 0.678 GB, free: 7.41 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.6623, allocations: 79.88 kB / 0.678 GB, free: 7.332 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.6623, allocations: 4 kB / 0.678 GB, free: 7.328 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.6625, allocations: 47.83 kB / 0.6781 GB, free: 7.281 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.6626, allocations: 55.81 kB / 0.6781 GB, free: 7.227 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.6626, allocations: 7.938 kB / 0.6781 GB, free: 7.219 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.6628, allocations: 79.94 kB / 0.6782 GB, free: 7.141 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.6629, allocations: 59.86 kB / 0.6783 GB, free: 7.082 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 7.787e-05/0.663, allocations: 51.61 kB / 0.6783 GB, free: 7.031 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.6632, allocations: 147.3 kB / 0.6785 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6632, allocations: 0 / 0.6785 GB, free: 6.887 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6632, allocations: 4 kB / 0.6785 GB, free: 6.883 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.6632, allocations: 4 kB / 0.6785 GB, free: 6.879 MB / 0.4983 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.000632/0.6639, allocations: 484 kB / 0.6789 GB, free: 6.352 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.6639, allocations: 11.89 kB / 0.6789 GB, free: 6.34 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.118e-05/0.664, allocations: 38.75 kB / 0.679 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.067e-05/0.664, allocations: 16.84 kB / 0.679 GB, free: 6.277 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.6645, allocations: 312.9 kB / 0.6793 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.6645, allocations: 384 / 0.6793 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.6645, allocations: 384 / 0.6793 GB, free: 5.93 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.6647, allocations: 65.8 kB / 0.6794 GB, free: 5.859 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6647, allocations: 0 / 0.6794 GB, free: 5.859 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.6647, allocations: 0 / 0.6794 GB, free: 5.859 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.6647, allocations: 0 / 0.6794 GB, free: 5.859 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.6648, allocations: 27.97 kB / 0.6794 GB, free: 5.832 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.665, allocations: 197.6 kB / 0.6796 GB, free: 5.59 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 7.006e-05/0.6651, allocations: 38.45 kB / 0.6796 GB, free: 5.543 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.6651, allocations: 20.89 kB / 0.6796 GB, free: 5.52 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.6651, allocations: 4 kB / 0.6796 GB, free: 5.516 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.6653, allocations: 101 kB / 0.6797 GB, free: 5.398 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.6653, allocations: 4 kB / 0.6797 GB, free: 5.395 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003347/0.6657, allocations: 179.2 kB / 0.6799 GB, free: 5.207 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.6657, allocations: 77.11 kB / 0.68 GB, free: 5.113 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.666, allocations: 232.2 kB / 0.6802 GB, free: 4.875 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.666, allocations: 29.7 kB / 0.6802 GB, free: 4.84 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.6661, allocations: 124.1 kB / 0.6803 GB, free: 4.715 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.6661, allocations: 19.84 kB / 0.6804 GB, free: 4.695 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.6662, allocations: 21.7 kB / 0.6804 GB, free: 4.668 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.6663, allocations: 326.8 kB / 0.6807 GB, free: 4.34 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.6664, allocations: 20 kB / 0.6807 GB, free: 4.32 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.6664, allocations: 15.98 kB / 0.6807 GB, free: 4.305 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.6665, allocations: 112.2 kB / 0.6808 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6665, allocations: 0 / 0.6808 GB, free: 4.18 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001959/0.6667, allocations: 147.2 kB / 0.681 GB, free: 4.023 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.6668, allocations: 41.69 kB / 0.681 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.6668, allocations: 0 / 0.681 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6668, allocations: 0 / 0.681 GB, free: 3.977 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.059e-05/0.6668, allocations: 4 kB / 0.681 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.6668, allocations: 0 / 0.681 GB, free: 3.973 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.6669, allocations: 11.94 kB / 0.681 GB, free: 3.961 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.6669, allocations: 8 kB / 0.681 GB, free: 3.953 MB / 0.4983 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.0001624/0.6671, allocations: 172.1 kB / 0.6812 GB, free: 3.773 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.6671, allocations: 27.78 kB / 0.6812 GB, free: 3.746 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.6672, allocations: 25.41 kB / 0.6813 GB, free: 3.719 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.6672, allocations: 0 / 0.6813 GB, free: 3.719 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6672, allocations: 96 / 0.6813 GB, free: 3.719 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.6672, allocations: 3.938 kB / 0.6813 GB, free: 3.715 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.6674, allocations: 217.5 kB / 0.6815 GB, free: 3.453 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6674, allocations: 3.938 kB / 0.6815 GB, free: 3.449 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-05/0.6674, allocations: 7.984 kB / 0.6815 GB, free: 3.441 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.6674, allocations: 0 / 0.6815 GB, free: 3.441 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.6674, allocations: 4 kB / 0.6815 GB, free: 3.438 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6674, allocations: 240 / 0.6815 GB, free: 3.438 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6674, allocations: 4 kB / 0.6815 GB, free: 3.434 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.6677, allocations: 206.6 kB / 0.6817 GB, free: 3.207 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.6678, allocations: 108.8 kB / 0.6818 GB, free: 3.082 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.6678, allocations: 8 kB / 0.6818 GB, free: 3.074 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.091e-05/0.6678, allocations: 4 kB / 0.6818 GB, free: 3.07 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.6679, allocations: 3.984 kB / 0.6818 GB, free: 3.066 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.6679, allocations: 8 kB / 0.6818 GB, free: 3.059 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001641/0.6681, allocations: 173.6 kB / 0.682 GB, free: 2.891 MB / 0.4983 GB Notification: Performance of sort global known variables: time 9e-08/0.6681, allocations: 4 kB / 0.682 GB, free: 2.887 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002293/0.6683, allocations: 35.98 kB / 0.682 GB, free: 2.852 MB / 0.4983 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.0006937/0.669, allocations: 0.7589 MB / 0.6828 GB, free: 2.059 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.000196/0.6692, allocations: 111.3 kB / 0.6829 GB, free: 1.938 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6692, allocations: 4 kB / 0.6829 GB, free: 1.934 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 9.636e-05/0.6693, allocations: 83.39 kB / 0.6829 GB, free: 1.84 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.6695, allocations: 16.67 kB / 0.683 GB, free: 1.82 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.6717, allocations: 1.944 MB / 0.6849 GB, free: 15.79 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.6721, allocations: 0.7239 MB / 0.6856 GB, free: 15.04 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 8.743e-05/0.6721, allocations: 25.41 kB / 0.6856 GB, free: 15.01 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.6722, allocations: 55.3 kB / 0.6856 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of SimCode: time 2.81e-07/0.6722, allocations: 0 / 0.6856 GB, free: 14.96 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.7004, allocations: 3.48 MB / 0.689 GB, free: 11.57 MB / 0.5139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.141/8.842, allocations: 2.578 kB / 0.689 GB, free: 11.57 MB / 0.5139 GB " [Timeout remaining time 291] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_TimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.56693797186017]