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: "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 106.6 kB / 16.92 MB, free: 5.777 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.001729/0.001729, allocations: 187.3 kB / 17.85 MB, free: 5.168 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.49/1.49, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.211/1.211, allocations: 119.3 MB / 411 MB, free: 9.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 59.91 kB / 0.491 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6223/0.6239, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.003465/0.6275, allocations: 1.557 MB / 0.5714 GB, free: 42.15 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.629, allocations: 0.889 MB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.744e-05/0.6291, allocations: 1.375 kB / 0.5722 GB, free: 41.46 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.6295, allocations: 69.72 kB / 0.5723 GB, free: 41.41 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.6299, allocations: 102 kB / 0.5724 GB, free: 41.35 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.6302, allocations: 106 kB / 0.5725 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.6303, allocations: 122.9 kB / 0.5726 GB, free: 41.21 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.106e-05/0.6304, allocations: 17.22 kB / 0.5726 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.6305, allocations: 60.03 kB / 0.5727 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.6307, allocations: 62.5 kB / 0.5727 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.6307, allocations: 5.656 kB / 0.5728 GB, free: 41.13 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.442e-05/0.6308, allocations: 28.08 kB / 0.5728 GB, free: 41.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.6309, allocations: 76.61 kB / 0.5729 GB, free: 41.08 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 6.747e-05/0.631, allocations: 50.88 kB / 0.5729 GB, free: 41.04 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.6312, allocations: 163.8 kB / 0.5731 GB, free: 40.93 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6313, allocations: 0 / 0.5731 GB, free: 40.93 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6313, allocations: 0.9688 kB / 0.5731 GB, free: 40.93 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.6313, allocations: 0 / 0.5731 GB, free: 40.93 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.0005278/0.6318, allocations: 485.6 kB / 0.5735 GB, free: 40.46 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6319, allocations: 12.73 kB / 0.5735 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.6319, allocations: 36.06 kB / 0.5736 GB, free: 40.41 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.632, allocations: 25.5 kB / 0.5736 GB, free: 40.4 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.6324, allocations: 334.2 kB / 0.5739 GB, free: 40.1 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.6324, allocations: 4.312 kB / 0.5739 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.6324, allocations: 5.562 kB / 0.5739 GB, free: 40.09 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.6326, allocations: 46.95 kB / 0.574 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.6326, allocations: 1.062 kB / 0.574 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6326, allocations: 0 / 0.574 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6326, allocations: 1.125 kB / 0.574 GB, free: 40.05 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.6327, allocations: 16.11 kB / 0.574 GB, free: 40.04 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.6329, allocations: 211.6 kB / 0.5742 GB, free: 39.81 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.6331, allocations: 62.89 kB / 0.5742 GB, free: 39.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.416e-05/0.6331, allocations: 17.23 kB / 0.5743 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.6332, allocations: 1.438 kB / 0.5743 GB, free: 39.75 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.6334, allocations: 71.55 kB / 0.5743 GB, free: 39.68 MB / 462.3 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.6334, allocations: 0 / 0.5743 GB, free: 39.68 MB / 462.3 MB Notification: Performance of matching and sorting (n=5): time 0.0003033/0.6337, allocations: 108.4 kB / 0.5744 GB, free: 39.61 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.6337, allocations: 55.34 kB / 0.5745 GB, free: 39.54 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.634, allocations: 279.5 kB / 0.5748 GB, free: 39.36 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.634, allocations: 27.52 kB / 0.5748 GB, free: 39.33 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.6341, allocations: 138.5 kB / 0.5749 GB, free: 39.2 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.6341, allocations: 9.906 kB / 0.5749 GB, free: 39.19 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.6342, allocations: 26.94 kB / 0.5749 GB, free: 39.16 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 6.93e-05/0.6342, allocations: 334.1 kB / 0.5753 GB, free: 38.84 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.6343, allocations: 15.38 kB / 0.5753 GB, free: 38.82 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.321e-05/0.6344, allocations: 28.05 kB / 0.5753 GB, free: 38.8 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.167e-05/0.6345, allocations: 43.14 kB / 0.5753 GB, free: 38.77 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.6345, allocations: 3.938 kB / 0.5754 GB, free: 38.76 MB / 462.3 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000149/0.6346, allocations: 96.03 kB / 0.5754 GB, free: 38.7 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.6347, allocations: 4.531 kB / 0.5754 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6347, allocations: 1.25 kB / 0.5755 GB, free: 38.7 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6347, allocations: 5.031 kB / 0.5755 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.6348, allocations: 12.92 kB / 0.5755 GB, free: 38.69 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6348, allocations: 5.062 kB / 0.5755 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.6348, allocations: 2.062 kB / 0.5755 GB, free: 38.68 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.6348, allocations: 2.312 kB / 0.5755 GB, free: 38.68 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.0001087/0.635, allocations: 150.8 kB / 0.5756 GB, free: 38.55 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.635, allocations: 21.69 kB / 0.5756 GB, free: 38.54 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.303e-05/0.6351, allocations: 28.39 kB / 0.5757 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6351, allocations: 0 / 0.5757 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6351, allocations: 1.688 kB / 0.5757 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.6351, allocations: 0 / 0.5757 GB, free: 38.52 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.6352, allocations: 216.2 kB / 0.5759 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6352, allocations: 0 / 0.5759 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.6353, allocations: 3.125 kB / 0.5759 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6353, allocations: 1.062 kB / 0.5759 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.6353, allocations: 1.25 kB / 0.5759 GB, free: 38.29 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.6353, allocations: 11.98 kB / 0.5759 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6353, allocations: 1.156 kB / 0.5759 GB, free: 38.27 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.6355, allocations: 118.6 kB / 0.576 GB, free: 38.18 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.6355, allocations: 101.6 kB / 0.5761 GB, free: 38.06 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.6356, allocations: 2.25 kB / 0.5761 GB, free: 38.06 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.6356, allocations: 2.062 kB / 0.5761 GB, free: 38.06 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.6357, allocations: 5.922 kB / 0.5761 GB, free: 38.06 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.6357, allocations: 6.156 kB / 0.5761 GB, free: 38.05 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.0001837/0.6359, allocations: 207.8 kB / 0.5763 GB, free: 37.92 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6359, allocations: 1.125 kB / 0.5763 GB, free: 37.92 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0002439/0.6361, allocations: 14.41 kB / 0.5763 GB, free: 37.92 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.001166/0.6373, allocations: 0.974 MB / 0.5773 GB, free: 37.16 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.6375, allocations: 47.75 kB / 0.5773 GB, free: 37.14 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6375, allocations: 0 / 0.5773 GB, free: 37.14 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.6376, allocations: 20.06 kB / 0.5773 GB, free: 37.13 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.6379, allocations: 44.2 kB / 0.5774 GB, free: 37.11 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.6398, allocations: 1.987 MB / 0.5793 GB, free: 35.59 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.64, allocations: 0.7314 MB / 0.58 GB, free: 34.87 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.000119/0.6401, allocations: 41.19 kB / 0.5801 GB, free: 34.85 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.6402, allocations: 60.67 kB / 0.5801 GB, free: 34.8 MB / 462.3 MB Notification: Performance of SimCode: time 4.61e-07/0.6402, allocations: 0 / 0.5801 GB, free: 34.8 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.6649, allocations: 4.245 MB / 0.5843 GB, free: 32.64 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.587, allocations: 9.594 kB / 0.5843 GB, free: 32.64 MB / 462.3 MB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches