Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.0009904/0.0009905, allocations: 176.8 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.462/1.462, allocations: 223.2 MB / 241 MB, free: 11.89 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.0009248/0.000925, allocations: 96.78 kB / 292.1 MB, free: 10.89 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.4161/0.4161, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004316, allocations: 11.98 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3775, allocations: 61.9 MB / 0.5096 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.4984, allocations: 89.29 MB / 0.5968 GB, free: 5.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4987, allocations: 79.89 kB / 0.5969 GB, free: 5.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.5141, allocations: 5.908 MB / 0.6027 GB, free: 15.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5141, allocations: 3.938 kB / 0.6027 GB, free: 15.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.5142, allocations: 0 / 0.6027 GB, free: 15.82 MB / 426.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.0005049/0.5147, allocations: 446.7 kB / 0.6031 GB, free: 15.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5147, allocations: 8.031 kB / 0.6031 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.5148, allocations: 34.56 kB / 0.6032 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.5148, allocations: 19.75 kB / 0.6032 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.5151, allocations: 230.8 kB / 0.6034 GB, free: 15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.5151, allocations: 3.953 kB / 0.6034 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.5152, allocations: 7.984 kB / 0.6034 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.5153, allocations: 53.67 kB / 0.6035 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5153, allocations: 4 kB / 0.6035 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.5153, allocations: 0 / 0.6035 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5154, allocations: 0 / 0.6035 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.263e-05/0.5154, allocations: 23.92 kB / 0.6035 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.5158, allocations: 312.8 kB / 0.6038 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.516, allocations: 54.67 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.516, allocations: 7.938 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/0.5162, allocations: 63.52 kB / 0.6039 GB, free: 14.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.5162, allocations: 0 / 0.6039 GB, free: 14.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005177/0.5167, allocations: 189 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.5167, allocations: 55.41 kB / 0.6041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.517, allocations: 239.2 kB / 0.6044 GB, free: 13.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.517, allocations: 33.7 kB / 0.6044 GB, free: 13.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.5171, allocations: 108.1 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.5171, allocations: 27.64 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5171, allocations: 3.938 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.839e-05/0.5172, allocations: 335 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.281e-05/0.5173, allocations: 15.98 kB / 0.6049 GB, free: 13.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.5173, allocations: 37.7 kB / 0.6049 GB, free: 13.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.5174, allocations: 28 kB / 0.6049 GB, free: 13.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5174, allocations: 3.938 kB / 0.6049 GB, free: 13.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000174/0.5176, allocations: 101.5 kB / 0.605 GB, free: 13.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5176, allocations: 6.188 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5176, allocations: 4 kB / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.5177, allocations: 0 / 0.605 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.5177, allocations: 23.92 kB / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.5178, allocations: 0 / 0.6051 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.5178, allocations: 4 kB / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.5178, allocations: 11.97 kB / 0.6051 GB, free: 13.14 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.0001056/0.5179, allocations: 138.3 kB / 0.6052 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.518, allocations: 15.81 kB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002648/0.5182, allocations: 119 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5183, allocations: 0 / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5183, allocations: 3.984 kB / 0.6053 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.5183, allocations: 4 kB / 0.6053 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.5188, allocations: 435.6 kB / 0.6058 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5188, allocations: 0 / 0.6058 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.5188, allocations: 19.98 kB / 0.6058 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5188, allocations: 4 kB / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.5189, allocations: 0 / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5189, allocations: 0 / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5189, allocations: 0 / 0.6058 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.5191, allocations: 242 kB / 0.606 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.5192, allocations: 96.92 kB / 0.6061 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.5192, allocations: 4 kB / 0.6061 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.793e-05/0.5193, allocations: 11.98 kB / 0.6061 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.5193, allocations: 11.89 kB / 0.6061 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.5194, allocations: 3.984 kB / 0.6061 GB, free: 11.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001647/0.5195, allocations: 196.5 kB / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5195, allocations: 0 / 0.6063 GB, free: 11.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002632/0.5198, allocations: 39.92 kB / 0.6064 GB, free: 11.71 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.001353/0.5212, allocations: 1.189 MB / 0.6075 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.5214, allocations: 67.89 kB / 0.6076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5214, allocations: 0 / 0.6076 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/0.5214, allocations: 28.11 kB / 0.6076 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.5217, allocations: 31.94 kB / 0.6076 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.5229, allocations: 1.041 MB / 0.6087 GB, free: 9.441 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.5232, allocations: 0.7277 MB / 0.6094 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.5233, allocations: 16.55 kB / 0.6094 GB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.5233, allocations: 39.42 kB / 0.6094 GB, free: 8.629 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5233, allocations: 0 / 0.6094 GB, free: 8.629 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.5367, allocations: 3.445 MB / 0.6128 GB, free: 5.328 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.537, allocations: 218.2 kB / 0.613 GB, free: 5.082 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/2.214, allocations: 0 / 0.613 GB, free: 5.082 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat