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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 110.2 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9344/0.9344, allocations: 119.3 MB / 411.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 0.4909 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5345, allocations: 80.68 MB / 0.5697 GB, free: 43.52 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002314/0.5369, allocations: 1.462 MB / 0.5711 GB, free: 42.38 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008826/0.5378, allocations: 0.588 MB / 0.5717 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.5379, allocations: 1.531 kB / 0.5717 GB, free: 41.93 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.538, allocations: 10.39 kB / 0.5717 GB, free: 41.92 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.5383, allocations: 60.56 kB / 0.5718 GB, free: 41.89 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.5385, allocations: 59.72 kB / 0.5718 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 9.421e-05/0.5386, allocations: 81.58 kB / 0.5719 GB, free: 41.81 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.5387, allocations: 6.734 kB / 0.5719 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.5388, allocations: 41.66 kB / 0.5719 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.5389, allocations: 57.81 kB / 0.572 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.5389, allocations: 2.75 kB / 0.572 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.539, allocations: 75.62 kB / 0.5721 GB, free: 41.71 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.5392, allocations: 48.77 kB / 0.5721 GB, free: 41.69 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.5392, allocations: 50.59 kB / 0.5722 GB, free: 41.65 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.5394, allocations: 107.2 kB / 0.5723 GB, free: 41.59 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5394, allocations: 5.141 kB / 0.5723 GB, free: 41.59 MB / 462.3 MB Notification: Performance of FrontEnd: time 7.01e-07/0.5394, allocations: 0 / 0.5723 GB, free: 41.59 MB / 462.3 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.5394, allocations: 0 / 0.5723 GB, free: 41.59 MB / 462.3 MB 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.0004262/0.5398, allocations: 477.3 kB / 0.5727 GB, free: 41.11 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5399, allocations: 9.625 kB / 0.5727 GB, free: 41.11 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.158e-05/0.5399, allocations: 17.03 kB / 0.5727 GB, free: 41.1 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.5403, allocations: 306.7 kB / 0.573 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5403, allocations: 5.594 kB / 0.573 GB, free: 40.82 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.5403, allocations: 7.156 kB / 0.573 GB, free: 40.81 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.5404, allocations: 59.33 kB / 0.5731 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5404, allocations: 1.094 kB / 0.5731 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.5405, allocations: 1.125 kB / 0.5731 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5405, allocations: 0 / 0.5731 GB, free: 40.76 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.5405, allocations: 20.44 kB / 0.5731 GB, free: 40.75 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.5407, allocations: 201.5 kB / 0.5733 GB, free: 40.53 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.5407, allocations: 46.12 kB / 0.5734 GB, free: 40.49 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.5408, allocations: 30.08 kB / 0.5734 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.5408, allocations: 0 / 0.5734 GB, free: 40.47 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.541, allocations: 114.7 kB / 0.5735 GB, free: 40.36 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.541, allocations: 0 / 0.5735 GB, free: 40.36 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0002796/0.5413, allocations: 162.6 kB / 0.5737 GB, free: 40.25 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.5413, allocations: 79.61 kB / 0.5737 GB, free: 40.16 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.5415, allocations: 231.8 kB / 0.574 GB, free: 40 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.5415, allocations: 27.23 kB / 0.574 GB, free: 39.97 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.5415, allocations: 121.3 kB / 0.5741 GB, free: 39.86 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.5416, allocations: 31.3 kB / 0.5741 GB, free: 39.83 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.5416, allocations: 19.19 kB / 0.5741 GB, free: 39.82 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.5417, allocations: 332.9 kB / 0.5745 GB, free: 39.49 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.591e-05/0.5417, allocations: 16.75 kB / 0.5745 GB, free: 39.48 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.5418, allocations: 17.27 kB / 0.5745 GB, free: 39.47 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.542e-05/0.5419, allocations: 110.5 kB / 0.5746 GB, free: 39.38 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.5419, allocations: 0 / 0.5746 GB, free: 39.38 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001561/0.542, allocations: 153.3 kB / 0.5747 GB, free: 39.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5421, allocations: 32.42 kB / 0.5748 GB, free: 39.24 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5421, allocations: 1.188 kB / 0.5748 GB, free: 39.24 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.5421, allocations: 0 / 0.5748 GB, free: 39.24 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.5421, allocations: 7.641 kB / 0.5748 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.5422, allocations: 1.219 kB / 0.5748 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.5422, allocations: 7.406 kB / 0.5748 GB, free: 39.23 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.5422, allocations: 5.781 kB / 0.5748 GB, free: 39.23 MB / 462.3 MB 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 9.614e-05/0.5423, allocations: 176.4 kB / 0.575 GB, free: 39.07 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.5424, allocations: 26.5 kB / 0.575 GB, free: 39.05 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.5424, allocations: 20.7 kB / 0.575 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.5424, allocations: 1.062 kB / 0.575 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.5424, allocations: 0 / 0.575 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.5424, allocations: 1.344 kB / 0.575 GB, free: 39.03 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.5425, allocations: 213.9 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.5425, allocations: 1.234 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.051e-05/0.5426, allocations: 11.03 kB / 0.5752 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.5426, allocations: 3.984 kB / 0.5752 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5426, allocations: 7.281 kB / 0.5752 GB, free: 38.79 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5426, allocations: 5.281 kB / 0.5752 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5426, allocations: 0 / 0.5752 GB, free: 38.78 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.5428, allocations: 197.1 kB / 0.5754 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.5429, allocations: 105.2 kB / 0.5755 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.5429, allocations: 7.5 kB / 0.5755 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.146e-05/0.543, allocations: 2.312 kB / 0.5755 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.543, allocations: 6.531 kB / 0.5755 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.543, allocations: 6.406 kB / 0.5756 GB, free: 38.52 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001181/0.5431, allocations: 175.5 kB / 0.5757 GB, free: 38.4 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5431, allocations: 0 / 0.5757 GB, free: 38.4 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002312/0.5434, allocations: 38.53 kB / 0.5758 GB, free: 38.39 MB / 462.3 MB 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.000143/0.5435, allocations: 123.8 kB / 0.5759 GB, free: 38.29 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.5437, allocations: 154.4 kB / 0.576 GB, free: 38.17 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5437, allocations: 0 / 0.576 GB, free: 38.17 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 7.706e-05/0.5438, allocations: 110.5 kB / 0.5761 GB, free: 38.08 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.544, allocations: 22.31 kB / 0.5762 GB, free: 38.06 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/0.5445, allocations: 352.6 kB / 0.5765 GB, free: 37.79 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.5446, allocations: 0.7246 MB / 0.5772 GB, free: 37.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.752e-05/0.5447, allocations: 13.53 kB / 0.5772 GB, free: 37.05 MB / 462.3 MB Notification: Performance of SimCode: time 3.31e-07/0.5447, allocations: 1.094 kB / 0.5772 GB, free: 37.05 MB / 462.3 MB Notification: Performance of Templates: time 0.003514/0.5482, allocations: 2.043 MB / 0.5792 GB, free: 36 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (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) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches