Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008905/0.0008905, allocations: 84.45 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.5525/0.5525, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003071/0.0003072, allocations: 11.98 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3669, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.4804, allocations: 89.26 MB / 0.5968 GB, free: 5.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4807, allocations: 83.86 kB / 0.5969 GB, free: 5.676 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01549/0.4962, allocations: 5.437 MB / 0.6022 GB, free: 244 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4963, allocations: 0 / 0.6022 GB, free: 244 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.4963, allocations: 0 / 0.6022 GB, free: 244 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005655/0.4969, allocations: 410.9 kB / 0.6026 GB, free: 15.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4969, allocations: 12.02 kB / 0.6026 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.497, allocations: 38.5 kB / 0.6026 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.497, allocations: 7.906 kB / 0.6026 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.4973, allocations: 206.8 kB / 0.6028 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.4974, allocations: 11.95 kB / 0.6029 GB, free: 15.47 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4974, allocations: 4 kB / 0.6029 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.4976, allocations: 53.67 kB / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4976, allocations: 0 / 0.6029 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4976, allocations: 8 kB / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4976, allocations: 0 / 0.6029 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.481e-05/0.4977, allocations: 23.97 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.4981, allocations: 300.7 kB / 0.6032 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001684/0.4983, allocations: 58.67 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.4983, allocations: 0 / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4985, allocations: 63.52 kB / 0.6033 GB, free: 14.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.525e-06/0.4985, allocations: 3.984 kB / 0.6034 GB, free: 14.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006008/0.4991, allocations: 181.2 kB / 0.6035 GB, free: 14.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4992, allocations: 59.34 kB / 0.6036 GB, free: 14.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.4993, allocations: 161 kB / 0.6037 GB, free: 14.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4994, allocations: 29.7 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.4995, allocations: 112 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.4995, allocations: 15.81 kB / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.4995, allocations: 0 / 0.6039 GB, free: 14.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.4997, allocations: 322.8 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.4998, allocations: 27.98 kB / 0.6042 GB, free: 13.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.957e-05/0.4998, allocations: 37.7 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.627e-05/0.4999, allocations: 24.17 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4999, allocations: 0 / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002085/0.5001, allocations: 105.4 kB / 0.6044 GB, free: 13.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5002, allocations: 8 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.5002, allocations: 0 / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.5002, allocations: 4.031 kB / 0.6044 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.5003, allocations: 15.98 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.5003, allocations: 4 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.5004, allocations: 3.938 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.5004, allocations: 4 kB / 0.6044 GB, free: 13.74 MB / 426.7 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001163/0.5005, allocations: 138.2 kB / 0.6045 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.5005, allocations: 7.906 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.5008, allocations: 118.3 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5008, allocations: 4 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.5008, allocations: 4 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.5008, allocations: 0 / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005062/0.5013, allocations: 411.2 kB / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5014, allocations: 0 / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.5014, allocations: 12.36 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.5014, allocations: 4 kB / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.5014, allocations: 0 / 0.6051 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.5014, allocations: 8.312 kB / 0.6051 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5015, allocations: 4 kB / 0.6051 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.5017, allocations: 221.8 kB / 0.6053 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.07e-05/0.5018, allocations: 97 kB / 0.6054 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.5018, allocations: 0 / 0.6054 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.77e-05/0.5019, allocations: 12 kB / 0.6054 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.502, allocations: 11.94 kB / 0.6054 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.502, allocations: 0 / 0.6054 GB, free: 12.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.5021, allocations: 135.2 kB / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5021, allocations: 0 / 0.6056 GB, free: 12.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.5024, allocations: 32 kB / 0.6056 GB, free: 12.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001534/0.504, allocations: 1.195 MB / 0.6067 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.5042, allocations: 63.97 kB / 0.6068 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5042, allocations: 0 / 0.6068 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.5043, allocations: 31.94 kB / 0.6068 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5045, allocations: 34.83 kB / 0.6069 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.5057, allocations: 0.8386 MB / 0.6077 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.506, allocations: 0.708 MB / 0.6084 GB, free: 9.625 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.961e-05/0.5061, allocations: 16.55 kB / 0.6084 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.5062, allocations: 31.42 kB / 0.6084 GB, free: 9.578 MB / 426.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5062, allocations: 0 / 0.6084 GB, free: 9.578 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01462/0.5208, allocations: 2.932 MB / 0.6113 GB, free: 6.785 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.5211, allocations: 210.6 kB / 0.6115 GB, free: 6.543 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/2.128, allocations: 4 kB / 0.6115 GB, free: 6.539 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat does not exist to compare? outputFormat=mat