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.001211/0.001217, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001494/0.001494, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.444/1.444, allocations: 223.3 MB / 241.2 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.057/1.057, allocations: 120.5 MB / 412.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004017/0.0004017, allocations: 16 kB / 0.4944 GB, free: 11.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2145, allocations: 82.85 MB / 0.5753 GB, free: 8.043 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.CombiTimeTable): time 0.00191/0.2164, allocations: 1.255 MB / 0.5765 GB, free: 6.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2177, allocations: 0.8036 MB / 0.5773 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.785e-05/0.2178, allocations: 3.938 kB / 0.5773 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000349/0.2182, allocations: 59.88 kB / 0.5773 GB, free: 5.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003217/0.2185, allocations: 99.7 kB / 0.5774 GB, free: 5.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2188, allocations: 83.84 kB / 0.5775 GB, free: 5.727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.219, allocations: 107.7 kB / 0.5776 GB, free: 5.621 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.219, allocations: 7.984 kB / 0.5776 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.2192, allocations: 63.69 kB / 0.5777 GB, free: 5.551 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2193, allocations: 55.83 kB / 0.5777 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.2194, allocations: 4 kB / 0.5777 GB, free: 5.492 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.084e-05/0.2195, allocations: 35.92 kB / 0.5778 GB, free: 5.457 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001162/0.2196, allocations: 63.8 kB / 0.5778 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.2e-05/0.2197, allocations: 49.58 kB / 0.5779 GB, free: 5.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.2198, allocations: 112 kB / 0.578 GB, free: 5.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.2199, allocations: 0 / 0.578 GB, free: 5.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2199, allocations: 0 / 0.578 GB, free: 5.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2199, allocations: 4 kB / 0.578 GB, free: 5.227 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.0006371/0.2205, allocations: 470.2 kB / 0.5784 GB, free: 4.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2206, allocations: 12.03 kB / 0.5784 GB, free: 4.707 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.2206, allocations: 38.52 kB / 0.5785 GB, free: 4.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.2207, allocations: 15.81 kB / 0.5785 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.2211, allocations: 330.2 kB / 0.5788 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2212, allocations: 0 / 0.5788 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2212, allocations: 0 / 0.5788 GB, free: 4.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.2213, allocations: 57.61 kB / 0.5789 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2214, allocations: 0 / 0.5789 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.2214, allocations: 4 kB / 0.5789 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.2214, allocations: 3.953 kB / 0.5789 GB, free: 4.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.487e-05/0.2215, allocations: 11.98 kB / 0.5789 GB, free: 4.199 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.2217, allocations: 213.7 kB / 0.5791 GB, free: 3.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.2218, allocations: 50.61 kB / 0.5791 GB, free: 3.883 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.2219, allocations: 24.8 kB / 0.5792 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.2219, allocations: 3.984 kB / 0.5792 GB, free: 3.852 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.2222, allocations: 63.39 kB / 0.5792 GB, free: 3.777 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.2222, allocations: 0 / 0.5792 GB, free: 3.777 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003082/0.2225, allocations: 105.4 kB / 0.5793 GB, free: 3.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.2225, allocations: 55.36 kB / 0.5794 GB, free: 3.602 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.2228, allocations: 278.6 kB / 0.5796 GB, free: 3.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.2229, allocations: 33.69 kB / 0.5797 GB, free: 3.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.223, allocations: 136.1 kB / 0.5798 GB, free: 3.145 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.223, allocations: 7.906 kB / 0.5798 GB, free: 3.137 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.223, allocations: 4 kB / 0.5798 GB, free: 3.133 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2232, allocations: 334.8 kB / 0.5801 GB, free: 2.797 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.2232, allocations: 15.98 kB / 0.5801 GB, free: 2.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.95e-05/0.2233, allocations: 25.72 kB / 0.5802 GB, free: 2.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.184e-05/0.2234, allocations: 19.98 kB / 0.5802 GB, free: 2.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2234, allocations: 0 / 0.5802 GB, free: 2.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001565/0.2235, allocations: 93.34 kB / 0.5803 GB, free: 2.633 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2236, allocations: 6.344 kB / 0.5803 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2236, allocations: 0 / 0.5803 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2236, allocations: 4 kB / 0.5803 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.149e-05/0.2237, allocations: 11.98 kB / 0.5803 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2237, allocations: 7.891 kB / 0.5803 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.2238, allocations: 11.97 kB / 0.5803 GB, free: 2.594 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.2238, allocations: 0 / 0.5803 GB, free: 2.594 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.0001412/0.2239, allocations: 146.5 kB / 0.5805 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.2239, allocations: 19.72 kB / 0.5805 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.224, allocations: 25.3 kB / 0.5805 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.224, allocations: 0 / 0.5805 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.224, allocations: 0 / 0.5805 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.224, allocations: 3.953 kB / 0.5805 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2242, allocations: 217.6 kB / 0.5807 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2242, allocations: 7.938 kB / 0.5807 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.2243, allocations: 8.312 kB / 0.5807 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.2243, allocations: 0 / 0.5807 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2243, allocations: 4 kB / 0.5807 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2243, allocations: 0 / 0.5807 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2243, allocations: 0 / 0.5807 GB, free: 2.109 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.2245, allocations: 124.8 kB / 0.5809 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.874e-05/0.2246, allocations: 104.8 kB / 0.581 GB, free: 1.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2246, allocations: 4 kB / 0.581 GB, free: 1.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.2247, allocations: 4 kB / 0.581 GB, free: 1.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2247, allocations: 7.984 kB / 0.581 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.2247, allocations: 4 kB / 0.581 GB, free: 1.828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.2249, allocations: 201.9 kB / 0.5812 GB, free: 1.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2249, allocations: 3.938 kB / 0.5812 GB, free: 1.625 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.2252, allocations: 19.98 kB / 0.5812 GB, free: 1.605 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.00144/0.2266, allocations: 0.9579 MB / 0.5821 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.2268, allocations: 39.92 kB / 0.5822 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2268, allocations: 0 / 0.5822 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.067e-05/0.2269, allocations: 16 kB / 0.5822 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.2272, allocations: 34.48 kB / 0.5822 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5545/0.7817, allocations: 1.114 MB / 0.5833 GB, free: 15.7 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.782, allocations: 0.7374 MB / 0.584 GB, free: 15 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.000168/0.7821, allocations: 39.23 kB / 0.5841 GB, free: 15 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.7823, allocations: 61.11 kB / 0.5841 GB, free: 15 MB / 446.3 MB Notification: Performance of SimCode: time 1.122e-06/0.7823, allocations: 4 kB / 0.5841 GB, free: 15 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01869/0.801, allocations: 3.826 MB / 0.5879 GB, free: 14.74 MB / 446.3 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.8012, allocations: 246.5 kB / 0.5881 GB, free: 14.5 MB / 446.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.688, allocations: 0 / 0.5881 GB, free: 14.5 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