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.001637/0.001637, allocations: 120.9 kB / 18.41 MB, free: 4.684 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.00176/0.00176, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.484/1.484, allocations: 222.9 MB / 247.1 MB, free: 4.207 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 1.024/1.024, allocations: 119.3 MB / 418.5 MB, free: 12.04 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_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_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.89 kB / 0.5801 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8266/0.8286, allocations: 80.7 MB / 0.6589 GB, free: 13.34 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002718/0.8314, allocations: 1.38 MB / 0.6602 GB, free: 12.26 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0009764/0.8324, allocations: 0.5781 MB / 0.6608 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.766e-05/0.8325, allocations: 1.656 kB / 0.6608 GB, free: 11.79 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.8327, allocations: 18.83 kB / 0.6608 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.833, allocations: 56.44 kB / 0.6609 GB, free: 11.75 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.8333, allocations: 88.8 kB / 0.6609 GB, free: 11.7 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.8334, allocations: 85.69 kB / 0.661 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.8335, allocations: 14.53 kB / 0.661 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.8336, allocations: 41.53 kB / 0.6611 GB, free: 11.62 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.8338, allocations: 49.78 kB / 0.6611 GB, free: 11.6 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.8338, allocations: 9.688 kB / 0.6611 GB, free: 11.59 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.8339, allocations: 76.52 kB / 0.6612 GB, free: 11.55 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.8341, allocations: 61.19 kB / 0.6613 GB, free: 11.52 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.8342, allocations: 54.52 kB / 0.6613 GB, free: 11.48 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.8344, allocations: 145.6 kB / 0.6614 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8344, allocations: 0.9062 kB / 0.6615 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8344, allocations: 0 / 0.6615 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8344, allocations: 0 / 0.6615 GB, free: 11.39 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.0005612/0.835, allocations: 486.2 kB / 0.6619 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.835, allocations: 13.08 kB / 0.6619 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.8351, allocations: 17.16 kB / 0.6619 GB, free: 10.9 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.8356, allocations: 323.5 kB / 0.6623 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.915e-06/0.8356, allocations: 2.219 kB / 0.6623 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.8356, allocations: 2.25 kB / 0.6623 GB, free: 10.6 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.8358, allocations: 63.78 kB / 0.6623 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8358, allocations: 0 / 0.6623 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.8358, allocations: 1.844 kB / 0.6623 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.8358, allocations: 0 / 0.6623 GB, free: 10.55 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.8359, allocations: 20.89 kB / 0.6623 GB, free: 10.54 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.8361, allocations: 204.7 kB / 0.6625 GB, free: 10.31 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.8361, allocations: 38.36 kB / 0.6626 GB, free: 10.28 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.8362, allocations: 33.83 kB / 0.6626 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.8362, allocations: 4.844 kB / 0.6626 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000133/0.8364, allocations: 98.56 kB / 0.6627 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=8): time 1.312e-06/0.8364, allocations: 0 / 0.6627 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of matching and sorting (n=8): time 0.0003352/0.8367, allocations: 174.2 kB / 0.6629 GB, free: 10.04 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.8368, allocations: 83.89 kB / 0.6629 GB, free: 9.941 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000211/0.837, allocations: 235.5 kB / 0.6632 GB, free: 9.777 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.837, allocations: 27.58 kB / 0.6632 GB, free: 9.746 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.8371, allocations: 120.6 kB / 0.6633 GB, free: 9.633 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.8371, allocations: 19.52 kB / 0.6633 GB, free: 9.617 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.8372, allocations: 26.92 kB / 0.6634 GB, free: 9.594 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 6.281e-05/0.8372, allocations: 329.3 kB / 0.6637 GB, free: 9.27 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.237e-05/0.8373, allocations: 17.25 kB / 0.6637 GB, free: 9.262 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.8373, allocations: 25.17 kB / 0.6637 GB, free: 9.246 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.8374, allocations: 106.8 kB / 0.6638 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8374, allocations: 0 / 0.6638 GB, free: 9.152 MB / 0.4983 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001936/0.8376, allocations: 153.2 kB / 0.664 GB, free: 9.047 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 4.592e-05/0.8377, allocations: 37.09 kB / 0.664 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.8377, allocations: 0 / 0.664 GB, free: 9.012 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.8377, allocations: 4.844 kB / 0.664 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.8378, allocations: 3.688 kB / 0.664 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.8378, allocations: 0.9375 kB / 0.664 GB, free: 9.008 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.8379, allocations: 6.75 kB / 0.664 GB, free: 9.004 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.8379, allocations: 6.469 kB / 0.664 GB, free: 9.004 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.0001217/0.838, allocations: 176.9 kB / 0.6642 GB, free: 8.84 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.004e-05/0.8381, allocations: 26.05 kB / 0.6642 GB, free: 8.824 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.8381, allocations: 25.61 kB / 0.6642 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.8381, allocations: 0.9375 kB / 0.6642 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8381, allocations: 0 / 0.6642 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.8381, allocations: 0.9375 kB / 0.6642 GB, free: 8.805 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.8383, allocations: 209.9 kB / 0.6644 GB, free: 8.578 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.8383, allocations: 5.25 kB / 0.6644 GB, free: 8.574 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.8383, allocations: 6.094 kB / 0.6644 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.8383, allocations: 1.188 kB / 0.6644 GB, free: 8.57 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.8383, allocations: 7.297 kB / 0.6645 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8383, allocations: 0 / 0.6645 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8383, allocations: 1.031 kB / 0.6645 GB, free: 8.566 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.8386, allocations: 189.7 kB / 0.6646 GB, free: 8.43 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.8386, allocations: 108.3 kB / 0.6647 GB, free: 8.312 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.8387, allocations: 7.656 kB / 0.6647 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.062e-05/0.8387, allocations: 2.625 kB / 0.6648 GB, free: 8.309 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.8388, allocations: 10.42 kB / 0.6648 GB, free: 8.301 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.8388, allocations: 10.72 kB / 0.6648 GB, free: 8.297 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.0001393/0.8389, allocations: 171 kB / 0.6649 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8389, allocations: 0 / 0.6649 GB, free: 8.184 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0002514/0.8392, allocations: 39.27 kB / 0.665 GB, free: 8.176 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.0001563/0.8393, allocations: 127.1 kB / 0.6651 GB, free: 8.074 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.8396, allocations: 146.3 kB / 0.6652 GB, free: 7.961 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8396, allocations: 3.938 kB / 0.6652 GB, free: 7.957 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.8397, allocations: 111.7 kB / 0.6653 GB, free: 7.863 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.8399, allocations: 16.89 kB / 0.6654 GB, free: 7.852 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.8404, allocations: 326.1 kB / 0.6657 GB, free: 7.609 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001665/0.8406, allocations: 0.7319 MB / 0.6664 GB, free: 6.883 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/0.8406, allocations: 14.97 kB / 0.6664 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of SimCode: time 2e-07/0.8406, allocations: 0 / 0.6664 GB, free: 6.875 MB / 0.4983 GB Notification: Performance of Templates: time 0.004516/0.8451, allocations: 2.061 MB / 0.6684 GB, free: 5.812 MB / 0.4983 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (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 & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] 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: 9.176142154959962]