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) 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_noopt_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_noopt_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.001354/0.001354, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001457/0.001457, allocations: 187.4 kB / 17.85 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.549/1.549, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.447/1.447, allocations: 119.3 MB / 411 MB, free: 9.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 64.14 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8207/0.8224, allocations: 80.69 MB / 0.5697 GB, free: 43.39 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003405/0.8259, allocations: 1.39 MB / 0.5711 GB, free: 42.3 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8271, allocations: 0.5728 MB / 0.5716 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.8271, allocations: 0 / 0.5716 GB, free: 41.85 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.8274, allocations: 18.95 kB / 0.5717 GB, free: 41.84 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.8277, allocations: 60.72 kB / 0.5717 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.828, allocations: 84.23 kB / 0.5718 GB, free: 41.75 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.8282, allocations: 94.67 kB / 0.5719 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.8283, allocations: 4.344 kB / 0.5719 GB, free: 41.7 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.8284, allocations: 44.92 kB / 0.5719 GB, free: 41.67 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.8286, allocations: 51 kB / 0.572 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.731e-05/0.8286, allocations: 5.5 kB / 0.572 GB, free: 41.64 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.8288, allocations: 81.05 kB / 0.5721 GB, free: 41.6 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.8289, allocations: 56.75 kB / 0.5721 GB, free: 41.57 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 7.049e-05/0.829, allocations: 50.61 kB / 0.5722 GB, free: 41.54 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.8292, allocations: 147.3 kB / 0.5723 GB, free: 41.45 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.8292, allocations: 0 / 0.5723 GB, free: 41.45 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8293, allocations: 0 / 0.5723 GB, free: 41.45 MB / 462.3 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.8293, allocations: 0 / 0.5723 GB, free: 41.45 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.0006332/0.8299, allocations: 478.2 kB / 0.5728 GB, free: 40.97 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.83, allocations: 13.17 kB / 0.5728 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.593e-05/0.83, allocations: 16.81 kB / 0.5728 GB, free: 40.96 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006013/0.8306, allocations: 314.5 kB / 0.5731 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.8307, allocations: 1.812 kB / 0.5731 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.8307, allocations: 2.969 kB / 0.5731 GB, free: 40.67 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.8309, allocations: 60.64 kB / 0.5732 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.8309, allocations: 0 / 0.5732 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.8309, allocations: 1.031 kB / 0.5732 GB, free: 40.62 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.831, allocations: 4 kB / 0.5732 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.323e-05/0.831, allocations: 21.61 kB / 0.5732 GB, free: 40.61 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.8313, allocations: 199.9 kB / 0.5734 GB, free: 40.38 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.8314, allocations: 46.27 kB / 0.5734 GB, free: 40.34 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.488e-05/0.8315, allocations: 33.83 kB / 0.5735 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.8315, allocations: 1.875 kB / 0.5735 GB, free: 40.32 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.8318, allocations: 100.9 kB / 0.5736 GB, free: 40.21 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.8318, allocations: 0 / 0.5736 GB, free: 40.21 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0004366/0.8322, allocations: 175 kB / 0.5737 GB, free: 40.1 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.8323, allocations: 79.89 kB / 0.5738 GB, free: 40.01 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.8326, allocations: 235.1 kB / 0.574 GB, free: 39.85 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.8326, allocations: 28.42 kB / 0.574 GB, free: 39.82 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.8327, allocations: 115.4 kB / 0.5742 GB, free: 39.71 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.8327, allocations: 19.69 kB / 0.5742 GB, free: 39.69 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-05/0.8328, allocations: 32.2 kB / 0.5742 GB, free: 39.66 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.848e-05/0.8329, allocations: 327.9 kB / 0.5745 GB, free: 39.34 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.8329, allocations: 13.5 kB / 0.5745 GB, free: 39.34 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.833, allocations: 21.23 kB / 0.5746 GB, free: 39.32 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.8331, allocations: 109.8 kB / 0.5747 GB, free: 39.23 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8331, allocations: 0.9062 kB / 0.5747 GB, free: 39.23 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002043/0.8333, allocations: 153 kB / 0.5748 GB, free: 39.12 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.8334, allocations: 36.94 kB / 0.5748 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.8334, allocations: 0 / 0.5748 GB, free: 39.09 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8334, allocations: 5.5 kB / 0.5748 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.8335, allocations: 4.062 kB / 0.5748 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.8335, allocations: 0 / 0.5748 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.8336, allocations: 2.906 kB / 0.5749 GB, free: 39.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.8336, allocations: 6.312 kB / 0.5749 GB, free: 39.08 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 0.0001399/0.8337, allocations: 177.1 kB / 0.575 GB, free: 38.92 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.8338, allocations: 25.45 kB / 0.575 GB, free: 38.9 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.335e-05/0.8338, allocations: 26.44 kB / 0.5751 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8338, allocations: 4 kB / 0.5751 GB, free: 38.88 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.8339, allocations: 5.312 kB / 0.5751 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8339, allocations: 0 / 0.5751 GB, free: 38.87 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.834, allocations: 215.1 kB / 0.5753 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.834, allocations: 0 / 0.5753 GB, free: 38.64 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.8341, allocations: 6.531 kB / 0.5753 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.8341, allocations: 5.359 kB / 0.5753 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.8341, allocations: 3.438 kB / 0.5753 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8341, allocations: 0 / 0.5753 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.8341, allocations: 0 / 0.5753 GB, free: 38.63 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.8344, allocations: 202.3 kB / 0.5755 GB, free: 38.48 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.8344, allocations: 105.1 kB / 0.5756 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.8345, allocations: 3.156 kB / 0.5756 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.201e-05/0.8345, allocations: 3.25 kB / 0.5756 GB, free: 38.37 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.8346, allocations: 12.98 kB / 0.5756 GB, free: 38.36 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.8346, allocations: 10.97 kB / 0.5756 GB, free: 38.35 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001538/0.8348, allocations: 172.5 kB / 0.5758 GB, free: 38.24 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8348, allocations: 0 / 0.5758 GB, free: 38.24 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.000251/0.835, allocations: 33.3 kB / 0.5758 GB, free: 38.23 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.0001848/0.8352, allocations: 127.2 kB / 0.5759 GB, free: 38.13 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.8355, allocations: 139.3 kB / 0.5761 GB, free: 38.03 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8355, allocations: 0 / 0.5761 GB, free: 38.03 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.8356, allocations: 114.5 kB / 0.5762 GB, free: 37.93 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.8358, allocations: 18.08 kB / 0.5762 GB, free: 37.92 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005878/0.8364, allocations: 302.7 kB / 0.5765 GB, free: 37.7 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.8367, allocations: 0.7202 MB / 0.5772 GB, free: 36.98 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.8368, allocations: 27.34 kB / 0.5772 GB, free: 36.97 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.8368, allocations: 14.62 kB / 0.5772 GB, free: 36.96 MB / 462.3 MB Notification: Performance of SimCode: time 2.2e-07/0.8368, allocations: 0 / 0.5772 GB, free: 36.96 MB / 462.3 MB Notification: Performance of Templates: time 0.004812/0.8416, allocations: 1.37 MB / 0.5786 GB, free: 36.27 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile (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) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches