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.001049/0.001048, allocations: 94.59 kB / 16.3 MB, free: 5.996 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.001058/0.001058, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.568/1.568, allocations: 223.2 MB / 241.1 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.115/1.115, allocations: 120.5 MB / 412.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.00032, allocations: 8 kB / 0.4943 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1927, allocations: 82.84 MB / 0.5751 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.001838/0.1946, allocations: 1.247 MB / 0.5764 GB, free: 6.785 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.196, allocations: 0.8037 MB / 0.5772 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.162e-05/0.1961, allocations: 0 / 0.5772 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1964, allocations: 59.8 kB / 0.5772 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003184/0.1968, allocations: 95.75 kB / 0.5773 GB, free: 5.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.197, allocations: 87.52 kB / 0.5774 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1972, allocations: 83.77 kB / 0.5775 GB, free: 5.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.709e-05/0.1973, allocations: 4 kB / 0.5775 GB, free: 5.656 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1974, allocations: 63.75 kB / 0.5775 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1976, allocations: 47.83 kB / 0.5776 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.1976, allocations: 8 kB / 0.5776 GB, free: 5.539 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.207e-05/0.1977, allocations: 27.92 kB / 0.5776 GB, free: 5.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.1978, allocations: 59.81 kB / 0.5777 GB, free: 5.453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.666e-05/0.1978, allocations: 41.64 kB / 0.5777 GB, free: 5.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.198, allocations: 116 kB / 0.5778 GB, free: 5.293 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.198, allocations: 0 / 0.5778 GB, free: 5.293 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.198, allocations: 4 kB / 0.5778 GB, free: 5.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.198, allocations: 0 / 0.5778 GB, free: 5.289 MB / 446.1 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.0005971/0.1986, allocations: 474.2 kB / 0.5783 GB, free: 4.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1987, allocations: 8.031 kB / 0.5783 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.897e-05/0.1987, allocations: 42.52 kB / 0.5783 GB, free: 4.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1988, allocations: 23.8 kB / 0.5783 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1992, allocations: 322.2 kB / 0.5786 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.1993, allocations: 4 kB / 0.5787 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.1993, allocations: 4 kB / 0.5787 GB, free: 4.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1994, allocations: 49.61 kB / 0.5787 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.1994, allocations: 0 / 0.5787 GB, free: 4.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1994, allocations: 4 kB / 0.5787 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1995, allocations: 3.953 kB / 0.5787 GB, free: 4.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.303e-05/0.1995, allocations: 15.98 kB / 0.5787 GB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.1998, allocations: 201.7 kB / 0.5789 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1999, allocations: 58.61 kB / 0.579 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.1999, allocations: 3.984 kB / 0.579 GB, free: 3.938 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/0.2001, allocations: 71.42 kB / 0.579 GB, free: 3.855 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.2002, allocations: 0 / 0.579 GB, free: 3.855 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002796/0.2004, allocations: 97.39 kB / 0.5791 GB, free: 3.754 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2005, allocations: 59.36 kB / 0.5792 GB, free: 3.684 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.2008, allocations: 282.7 kB / 0.5795 GB, free: 3.398 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2008, allocations: 25.7 kB / 0.5795 GB, free: 3.367 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.2009, allocations: 140.1 kB / 0.5796 GB, free: 3.227 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.2009, allocations: 7.906 kB / 0.5796 GB, free: 3.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.2009, allocations: 0 / 0.5796 GB, free: 3.219 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.2011, allocations: 338.8 kB / 0.58 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.672e-05/0.2011, allocations: 12 kB / 0.58 GB, free: 2.867 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.2012, allocations: 33.64 kB / 0.58 GB, free: 2.828 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.2013, allocations: 20 kB / 0.58 GB, free: 2.809 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2013, allocations: 0 / 0.58 GB, free: 2.809 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001571/0.2015, allocations: 89.34 kB / 0.5801 GB, free: 2.715 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2015, allocations: 18.11 kB / 0.5801 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2015, allocations: 0 / 0.5801 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2015, allocations: 0 / 0.5801 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.973e-05/0.2016, allocations: 8 kB / 0.5801 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2016, allocations: 4 kB / 0.5801 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.2017, allocations: 11.92 kB / 0.5801 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2017, allocations: 4 kB / 0.5801 GB, free: 2.672 MB / 446.1 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 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.2018, allocations: 144.4 kB / 0.5803 GB, free: 2.523 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.2019, allocations: 23.72 kB / 0.5803 GB, free: 2.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.91e-05/0.2019, allocations: 21.3 kB / 0.5803 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2019, allocations: 4 kB / 0.5803 GB, free: 2.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2019, allocations: 4 kB / 0.5803 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2019, allocations: 0 / 0.5803 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2021, allocations: 217.5 kB / 0.5805 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2021, allocations: 8 kB / 0.5805 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.2022, allocations: 3.938 kB / 0.5806 GB, free: 2.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.2022, allocations: 3.984 kB / 0.5806 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.2022, allocations: 8 kB / 0.5806 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2022, allocations: 0 / 0.5806 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2022, allocations: 160 / 0.5806 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2024, allocations: 116.8 kB / 0.5807 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.859e-05/0.2025, allocations: 104.8 kB / 0.5808 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.2025, allocations: 8 kB / 0.5808 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.2026, allocations: 0 / 0.5808 GB, free: 1.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.458e-05/0.2026, allocations: 4 kB / 0.5808 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.2026, allocations: 3.984 kB / 0.5808 GB, free: 1.914 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.2028, allocations: 205.9 kB / 0.581 GB, free: 1.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2028, allocations: 0 / 0.581 GB, free: 1.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.203, allocations: 16 kB / 0.581 GB, free: 1.695 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/0.2044, allocations: 0.9593 MB / 0.5819 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001649/0.2046, allocations: 39.98 kB / 0.582 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2046, allocations: 3.938 kB / 0.582 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.129e-05/0.2047, allocations: 19.98 kB / 0.582 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.2049, allocations: 29.53 kB / 0.582 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5944/0.7993, allocations: 1.243 MB / 0.5832 GB, free: 15.36 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.7996, allocations: 0.7396 MB / 0.584 GB, free: 14.66 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.7998, allocations: 35.3 kB / 0.584 GB, free: 14.66 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.7999, allocations: 64.12 kB / 0.5841 GB, free: 14.66 MB / 446.3 MB Notification: Performance of SimCode: time 1.533e-06/0.7999, allocations: 0 / 0.5841 GB, free: 14.66 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.8209, allocations: 3.817 MB / 0.5878 GB, free: 14.42 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.8212, allocations: 235.5 kB / 0.588 GB, free: 14.18 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.701, allocations: 1.469 kB / 0.588 GB, free: 14.18 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable_fmu --startTime=0 --stopTime=1 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Elementary_Tables_Models_CombiTimeTable.fmu > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable_res.mat does not exist to compare? outputFormat=mat