Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001979/0.001979, allocations: 120.1 kB / 17.79 MB, free: 5.285 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.002207/0.002207, allocations: 186.9 kB / 20.73 MB, free: 2.355 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.58/1.58, allocations: 225.6 MB / 249.1 MB, free: 3.594 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.9867/0.9867, allocations: 120.6 MB / 424.6 MB, free: 5.531 MB / 350.1 MB " [Timeout remaining time 178] 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.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 0.5937 GB, free: 2.57 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8698, allocations: 84.64 MB / 0.6763 GB, free: 16.68 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003284/0.8731, allocations: 1.401 MB / 0.6777 GB, free: 15.61 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.8743, allocations: 0.574 MB / 0.6783 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.097e-05/0.8744, allocations: 4 kB / 0.6783 GB, free: 15.15 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002326/0.8746, allocations: 22.78 kB / 0.6783 GB, free: 15.14 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.875, allocations: 56.56 kB / 0.6784 GB, free: 15.11 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.8753, allocations: 82.03 kB / 0.6784 GB, free: 15.05 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.8755, allocations: 90.25 kB / 0.6785 GB, free: 15 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.41e-05/0.8755, allocations: 10.39 kB / 0.6785 GB, free: 15 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.8757, allocations: 41.84 kB / 0.6786 GB, free: 14.98 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.8758, allocations: 51.25 kB / 0.6786 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.8759, allocations: 8.125 kB / 0.6786 GB, free: 14.95 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.876, allocations: 78.42 kB / 0.6787 GB, free: 14.91 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.8762, allocations: 64.67 kB / 0.6788 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 7.606e-05/0.8763, allocations: 50.56 kB / 0.6788 GB, free: 14.84 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/0.8765, allocations: 149.3 kB / 0.679 GB, free: 14.75 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8765, allocations: 4 kB / 0.679 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8765, allocations: 5.219 kB / 0.679 GB, free: 14.74 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.8765, allocations: 0 / 0.679 GB, free: 14.74 MB / 0.5139 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.0007735/0.8773, allocations: 485.9 kB / 0.6794 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.8774, allocations: 12.64 kB / 0.6794 GB, free: 14.25 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.194e-05/0.8774, allocations: 16.59 kB / 0.6795 GB, free: 14.24 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.878, allocations: 320.3 kB / 0.6798 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.8781, allocations: 2.438 kB / 0.6798 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.8781, allocations: 2.375 kB / 0.6798 GB, free: 13.95 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.8782, allocations: 55.22 kB / 0.6798 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.8782, allocations: 0 / 0.6798 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.8783, allocations: 5.078 kB / 0.6798 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8783, allocations: 1.438 kB / 0.6798 GB, free: 13.9 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.092e-05/0.8784, allocations: 27.89 kB / 0.6799 GB, free: 13.88 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.8786, allocations: 197 kB / 0.68 GB, free: 13.66 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 8.151e-05/0.8787, allocations: 32.34 kB / 0.6801 GB, free: 13.63 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.8787, allocations: 22.64 kB / 0.6801 GB, free: 13.62 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.8787, allocations: 4 kB / 0.6801 GB, free: 13.61 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.8789, allocations: 103 kB / 0.6802 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.292e-06/0.8789, allocations: 0 / 0.6802 GB, free: 13.51 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003943/0.8793, allocations: 166.5 kB / 0.6804 GB, free: 13.41 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.8794, allocations: 83.84 kB / 0.6804 GB, free: 13.31 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.8796, allocations: 228.6 kB / 0.6807 GB, free: 13.15 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.8796, allocations: 35.08 kB / 0.6807 GB, free: 13.11 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.8797, allocations: 116.4 kB / 0.6808 GB, free: 13 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.8798, allocations: 27.66 kB / 0.6808 GB, free: 12.98 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.428e-05/0.8798, allocations: 22.94 kB / 0.6808 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 9.469e-05/0.8799, allocations: 324.4 kB / 0.6812 GB, free: 12.64 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.88, allocations: 21.23 kB / 0.6812 GB, free: 12.63 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.88, allocations: 18.12 kB / 0.6812 GB, free: 12.62 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.8801, allocations: 114.1 kB / 0.6813 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.8801, allocations: 4 kB / 0.6813 GB, free: 12.52 MB / 0.5139 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002232/0.8803, allocations: 153.3 kB / 0.6814 GB, free: 12.41 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/0.8804, allocations: 37.08 kB / 0.6815 GB, free: 12.38 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8804, allocations: 3.938 kB / 0.6815 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.8804, allocations: 4.844 kB / 0.6815 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.8805, allocations: 3.688 kB / 0.6815 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.8805, allocations: 0.9375 kB / 0.6815 GB, free: 12.37 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.593e-05/0.8806, allocations: 6.734 kB / 0.6815 GB, free: 12.36 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.8806, allocations: 7.406 kB / 0.6815 GB, free: 12.36 MB / 0.5139 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.0001475/0.8807, allocations: 176.3 kB / 0.6817 GB, free: 12.2 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.8808, allocations: 25.95 kB / 0.6817 GB, free: 12.18 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.8808, allocations: 21.67 kB / 0.6817 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.8808, allocations: 0.9375 kB / 0.6817 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8808, allocations: 0 / 0.6817 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.8808, allocations: 0.9375 kB / 0.6817 GB, free: 12.17 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.881, allocations: 206.2 kB / 0.6819 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.881, allocations: 0.9375 kB / 0.6819 GB, free: 11.95 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.521e-05/0.881, allocations: 6.656 kB / 0.6819 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.881, allocations: 0 / 0.6819 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.8811, allocations: 7.688 kB / 0.6819 GB, free: 11.94 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8811, allocations: 4.938 kB / 0.6819 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8811, allocations: 0 / 0.6819 GB, free: 11.93 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.8814, allocations: 202.5 kB / 0.6821 GB, free: 11.79 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.939e-05/0.8814, allocations: 105.2 kB / 0.6822 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.8815, allocations: 7.672 kB / 0.6822 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.8815, allocations: 2.781 kB / 0.6822 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.8816, allocations: 1.844 kB / 0.6822 GB, free: 11.67 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.8816, allocations: 19.36 kB / 0.6823 GB, free: 11.66 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 0.0001908/0.8818, allocations: 175.1 kB / 0.6824 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of sort global known variables: time 8e-08/0.8818, allocations: 0 / 0.6824 GB, free: 11.54 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0002872/0.8821, allocations: 34.34 kB / 0.6825 GB, free: 11.54 MB / 0.5139 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.0002179/0.8823, allocations: 130.7 kB / 0.6826 GB, free: 11.43 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.8825, allocations: 113.2 kB / 0.6827 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8825, allocations: 4.844 kB / 0.6827 GB, free: 11.34 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 8.123e-05/0.8826, allocations: 85.77 kB / 0.6828 GB, free: 11.26 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.8828, allocations: 24.27 kB / 0.6828 GB, free: 11.25 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006081/0.8834, allocations: 291.1 kB / 0.6831 GB, free: 11.04 MB / 0.5139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.8837, allocations: 0.7279 MB / 0.6838 GB, free: 10.32 MB / 0.5139 GB Notification: Performance of simCode: alias equations: time 7.329e-05/0.8838, allocations: 27.28 kB / 0.6838 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.8838, allocations: 13.75 kB / 0.6838 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of SimCode: time 2.8e-07/0.8838, allocations: 1.281 kB / 0.6838 GB, free: 10.3 MB / 0.5139 GB Notification: Performance of Templates: time 0.005769/0.8896, allocations: 1.383 MB / 0.6852 GB, free: 9.602 MB / 0.5139 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_noopt_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_noopt_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: 7.001169144175947]