Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.001091/0.001091, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.401/1.401, allocations: 223.2 MB / 241 MB, free: 11.9 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.001099/0.001099, allocations: 101 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.317/0.317, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003744, allocations: 16 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3917, allocations: 61.91 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.5062, allocations: 89.3 MB / 0.5969 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5065, allocations: 83.91 kB / 0.5969 GB, free: 5.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.5218, allocations: 5.758 MB / 0.6026 GB, free: 15.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5218, allocations: 7.938 kB / 0.6026 GB, free: 15.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.5219, allocations: 4 kB / 0.6026 GB, free: 15.95 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.0005558/0.5224, allocations: 434.7 kB / 0.603 GB, free: 15.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5225, allocations: 8.031 kB / 0.603 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.957e-05/0.5225, allocations: 30.56 kB / 0.603 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.5226, allocations: 19.84 kB / 0.603 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.5229, allocations: 221.6 kB / 0.6033 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.5229, allocations: 11.94 kB / 0.6033 GB, free: 15.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.5229, allocations: 11.94 kB / 0.6033 GB, free: 15.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.5231, allocations: 49.67 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.5231, allocations: 4 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.5231, allocations: 4 kB / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.5231, allocations: 0 / 0.6033 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.162e-05/0.5232, allocations: 19.98 kB / 0.6034 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.5236, allocations: 296.9 kB / 0.6036 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.5237, allocations: 66.61 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.5238, allocations: 3.984 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.5239, allocations: 63.52 kB / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.5239, allocations: 0 / 0.6038 GB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005274/0.5244, allocations: 181.1 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.5245, allocations: 55.41 kB / 0.604 GB, free: 14.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.5247, allocations: 205.8 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.5247, allocations: 25.7 kB / 0.6042 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.846e-05/0.5248, allocations: 104.1 kB / 0.6043 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.5248, allocations: 23.66 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.5249, allocations: 4 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.525, allocations: 331 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.762e-05/0.525, allocations: 19.92 kB / 0.6047 GB, free: 13.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.421e-05/0.5251, allocations: 41.7 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.158e-05/0.5252, allocations: 24 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.5252, allocations: 0 / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001824/0.5254, allocations: 109.4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.5254, allocations: 4 kB / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5254, allocations: 0 / 0.6048 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.5254, allocations: 4 kB / 0.6048 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.788e-05/0.5255, allocations: 24.02 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.5255, allocations: 0 / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.5256, allocations: 4 kB / 0.6049 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5256, allocations: 7.938 kB / 0.6049 GB, free: 13.35 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 9.066e-05/0.5257, allocations: 133.8 kB / 0.605 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.5257, allocations: 7.906 kB / 0.605 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.526, allocations: 127 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.526, allocations: 4 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.526, allocations: 4 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.526, allocations: 3.984 kB / 0.6051 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.5265, allocations: 427.6 kB / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.5265, allocations: 0 / 0.6056 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.5266, allocations: 15.94 kB / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5266, allocations: 0 / 0.6056 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.5266, allocations: 4 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5266, allocations: 0 / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5266, allocations: 4.031 kB / 0.6056 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.527, allocations: 229.8 kB / 0.6058 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.5271, allocations: 97 kB / 0.6059 GB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.5271, allocations: 7.984 kB / 0.6059 GB, free: 12.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5272, allocations: 4 kB / 0.6059 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.5273, allocations: 11.95 kB / 0.6059 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.5273, allocations: 7.984 kB / 0.6059 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.5275, allocations: 168.3 kB / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5275, allocations: 0 / 0.6061 GB, free: 12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.5278, allocations: 43.92 kB / 0.6061 GB, free: 11.96 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.001363/0.5291, allocations: 1.194 MB / 0.6073 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.5293, allocations: 59.92 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5293, allocations: 0 / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.5294, allocations: 35.92 kB / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.5297, allocations: 34.92 kB / 0.6074 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.5309, allocations: 0.9435 MB / 0.6083 GB, free: 9.793 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.5312, allocations: 0.72 MB / 0.609 GB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.5313, allocations: 16.55 kB / 0.6091 GB, free: 9.031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.5314, allocations: 39.42 kB / 0.6091 GB, free: 8.992 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5314, allocations: 0 / 0.6091 GB, free: 8.992 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01424/0.5456, allocations: 3.218 MB / 0.6122 GB, free: 5.906 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002543/0.546, allocations: 217.9 kB / 0.6124 GB, free: 5.664 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.232, allocations: 64 / 0.6124 GB, free: 5.664 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat does not exist to compare? outputFormat=mat