Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.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.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 108.6 kB / 16.92 MB, free: 5.781 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.001265/0.001265, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.356/1.356, allocations: 222.9 MB / 241.5 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.049/1.049, allocations: 119.3 MB / 411 MB, free: 9.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6283/0.6297, allocations: 80.69 MB / 0.5697 GB, free: 43.36 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.002771/0.6326, allocations: 1.548 MB / 0.5712 GB, free: 42.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.6337, allocations: 0.8949 MB / 0.5721 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.63e-05/0.6338, allocations: 1.375 kB / 0.5721 GB, free: 41.44 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002821/0.6341, allocations: 61.73 kB / 0.5722 GB, free: 41.4 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.6344, allocations: 102 kB / 0.5723 GB, free: 41.34 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.6346, allocations: 114.1 kB / 0.5724 GB, free: 41.26 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.6348, allocations: 127 kB / 0.5725 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.02e-05/0.6348, allocations: 8 kB / 0.5725 GB, free: 41.18 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.6349, allocations: 71.5 kB / 0.5726 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.635, allocations: 51.47 kB / 0.5726 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.6351, allocations: 4.781 kB / 0.5726 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.6352, allocations: 32.56 kB / 0.5727 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.6353, allocations: 72.2 kB / 0.5727 GB, free: 41.07 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.6354, allocations: 58.23 kB / 0.5728 GB, free: 41.02 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.6355, allocations: 152.1 kB / 0.5729 GB, free: 40.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.6356, allocations: 1.375 kB / 0.5729 GB, free: 40.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6356, allocations: 0 / 0.5729 GB, free: 40.93 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.6356, allocations: 3.938 kB / 0.5729 GB, free: 40.92 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005047/0.6361, allocations: 493 kB / 0.5734 GB, free: 40.44 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6361, allocations: 13.98 kB / 0.5734 GB, free: 40.44 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.6362, allocations: 24.66 kB / 0.5734 GB, free: 40.42 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.6365, allocations: 338.2 kB / 0.5738 GB, free: 40.12 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.6365, allocations: 4.375 kB / 0.5738 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.6366, allocations: 10.66 kB / 0.5738 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.6367, allocations: 46.55 kB / 0.5738 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.6367, allocations: 1.406 kB / 0.5738 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.6367, allocations: 0 / 0.5738 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6367, allocations: 0 / 0.5738 GB, free: 40.06 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.332e-05/0.6368, allocations: 17.05 kB / 0.5738 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.637, allocations: 203.2 kB / 0.574 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.6371, allocations: 59.2 kB / 0.5741 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.952e-05/0.6372, allocations: 21.3 kB / 0.5741 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.6372, allocations: 0 / 0.5741 GB, free: 39.77 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.6374, allocations: 73.06 kB / 0.5742 GB, free: 39.7 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.6374, allocations: 0 / 0.5742 GB, free: 39.7 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0002512/0.6377, allocations: 107.2 kB / 0.5743 GB, free: 39.63 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.6377, allocations: 52.5 kB / 0.5743 GB, free: 39.57 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.6379, allocations: 279 kB / 0.5746 GB, free: 39.39 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.6379, allocations: 26.86 kB / 0.5746 GB, free: 39.36 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 5.388e-05/0.638, allocations: 139.7 kB / 0.5748 GB, free: 39.23 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.638, allocations: 14.25 kB / 0.5748 GB, free: 39.21 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.6381, allocations: 18.69 kB / 0.5748 GB, free: 39.2 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 5.854e-05/0.6381, allocations: 333.6 kB / 0.5751 GB, free: 38.87 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.581e-05/0.6382, allocations: 19.73 kB / 0.5751 GB, free: 38.86 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.6382, allocations: 23.62 kB / 0.5752 GB, free: 38.84 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.6383, allocations: 46.86 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6383, allocations: 3.938 kB / 0.5752 GB, free: 38.8 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001365/0.6385, allocations: 91.56 kB / 0.5753 GB, free: 38.73 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6385, allocations: 7.094 kB / 0.5753 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.6385, allocations: 4.031 kB / 0.5753 GB, free: 38.73 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.6385, allocations: 9.188 kB / 0.5753 GB, free: 38.72 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/0.6386, allocations: 17.31 kB / 0.5753 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.6386, allocations: 1.125 kB / 0.5753 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.513e-05/0.6387, allocations: 2.156 kB / 0.5753 GB, free: 38.71 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.6387, allocations: 6.188 kB / 0.5753 GB, free: 38.71 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001008/0.6388, allocations: 146.5 kB / 0.5755 GB, free: 38.57 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.6388, allocations: 21.53 kB / 0.5755 GB, free: 38.56 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.6389, allocations: 23.89 kB / 0.5755 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.6389, allocations: 5.281 kB / 0.5755 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6389, allocations: 3.938 kB / 0.5755 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6389, allocations: 1.094 kB / 0.5755 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.639, allocations: 216.5 kB / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.639, allocations: 0 / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.639, allocations: 3.625 kB / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.639, allocations: 0 / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.6391, allocations: 5.078 kB / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6391, allocations: 1.125 kB / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.6391, allocations: 0 / 0.5757 GB, free: 38.3 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.6392, allocations: 130.2 kB / 0.5759 GB, free: 38.19 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.6393, allocations: 95.14 kB / 0.576 GB, free: 38.09 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.6393, allocations: 5.281 kB / 0.576 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.926e-05/0.6394, allocations: 5.391 kB / 0.576 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.6394, allocations: 3 kB / 0.576 GB, free: 38.08 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.6394, allocations: 1.312 kB / 0.576 GB, free: 38.08 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001518/0.6396, allocations: 205.3 kB / 0.5762 GB, free: 37.95 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6396, allocations: 4 kB / 0.5762 GB, free: 37.94 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002113/0.6398, allocations: 19.19 kB / 0.5762 GB, free: 37.94 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000848/0.6407, allocations: 419.9 kB / 0.5766 GB, free: 37.73 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.6408, allocations: 44.05 kB / 0.5766 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6408, allocations: 0 / 0.5766 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.699e-05/0.6409, allocations: 15.94 kB / 0.5766 GB, free: 37.71 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.6412, allocations: 42.08 kB / 0.5767 GB, free: 37.68 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.6416, allocations: 331.6 kB / 0.577 GB, free: 37.45 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.6418, allocations: 0.7387 MB / 0.5777 GB, free: 36.72 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000102/0.6419, allocations: 49.61 kB / 0.5778 GB, free: 36.7 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.642, allocations: 25.2 kB / 0.5778 GB, free: 36.68 MB / 462.3 MB Notification: Performance of SimCode: time 2.4e-07/0.642, allocations: 0 / 0.5778 GB, free: 36.68 MB / 462.3 MB Notification: Performance of Templates: time 0.004338/0.6463, allocations: 1.713 MB / 0.5795 GB, free: 35.84 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches