Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.002199/0.002199, allocations: 177.9 kB / 17.06 MB, free: 5.098 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.357/1.357, 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.0008084/0.0008083, allocations: 95.72 kB / 292.1 MB, free: 10.92 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.3382/0.3382, allocations: 44.22 MB / 387.5 MB, free: 39.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 12 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3745, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1206/0.4951, allocations: 89.29 MB / 0.5968 GB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4954, allocations: 83.92 kB / 0.5969 GB, free: 5.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.5105, allocations: 5.888 MB / 0.6027 GB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.368e-06/0.5105, allocations: 0 / 0.6027 GB, free: 15.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.5106, allocations: 7.938 kB / 0.6027 GB, free: 15.9 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.0006545/0.5112, allocations: 450.7 kB / 0.6031 GB, free: 15.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.5113, allocations: 8.031 kB / 0.6031 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.648e-05/0.5113, allocations: 30.56 kB / 0.6031 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.5114, allocations: 15.81 kB / 0.6032 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.5118, allocations: 230.7 kB / 0.6034 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.5118, allocations: 7.953 kB / 0.6034 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.5119, allocations: 0 / 0.6034 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.512, allocations: 57.67 kB / 0.6034 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.5121, allocations: 4 kB / 0.6034 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.5121, allocations: 0 / 0.6034 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.5121, allocations: 0 / 0.6034 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.5122, allocations: 23.92 kB / 0.6035 GB, free: 14.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.5127, allocations: 308.8 kB / 0.6038 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.5128, allocations: 58.69 kB / 0.6038 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.873e-05/0.5129, allocations: 7.938 kB / 0.6038 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.513, allocations: 67.5 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.513, allocations: 0 / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005943/0.5136, allocations: 189.2 kB / 0.6041 GB, free: 14.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5137, allocations: 55.41 kB / 0.6041 GB, free: 14.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.514, allocations: 235.2 kB / 0.6043 GB, free: 13.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.514, allocations: 33.7 kB / 0.6044 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.5141, allocations: 112.1 kB / 0.6045 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.5141, allocations: 23.66 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.5141, allocations: 3.938 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.5142, allocations: 335 kB / 0.6048 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.5143, allocations: 16 kB / 0.6048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.5144, allocations: 41.69 kB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/0.5145, allocations: 36.05 kB / 0.6049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5145, allocations: 3.938 kB / 0.6049 GB, free: 13.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001934/0.5147, allocations: 97.69 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5147, allocations: 5.875 kB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.5147, allocations: 0 / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5147, allocations: 8 kB / 0.605 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.5148, allocations: 19.92 kB / 0.605 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5148, allocations: 0 / 0.605 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.47e-05/0.5149, allocations: 12.03 kB / 0.6051 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5149, allocations: 4 kB / 0.6051 GB, free: 13.22 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.0001252/0.515, allocations: 143.2 kB / 0.6052 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.5151, allocations: 15.8 kB / 0.6052 GB, free: 13.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.5154, allocations: 123 kB / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5154, allocations: 0 / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5154, allocations: 0 / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5154, allocations: 0 / 0.6053 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/0.5159, allocations: 443.2 kB / 0.6058 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.5159, allocations: 0 / 0.6058 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.977e-05/0.516, allocations: 8 kB / 0.6058 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.516, allocations: 0 / 0.6058 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.516, allocations: 11.98 kB / 0.6058 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.516, allocations: 0 / 0.6058 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.516, allocations: 0 / 0.6058 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5163, allocations: 238.1 kB / 0.606 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.5164, allocations: 100.9 kB / 0.6061 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.5164, allocations: 4 kB / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.5165, allocations: 0 / 0.6061 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.5166, allocations: 19.88 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.5166, allocations: 4 kB / 0.6061 GB, free: 12.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.5168, allocations: 200.5 kB / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5168, allocations: 0 / 0.6063 GB, free: 11.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.5171, allocations: 35.94 kB / 0.6063 GB, free: 11.79 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.001505/0.5186, allocations: 1.188 MB / 0.6075 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.5188, allocations: 63.89 kB / 0.6076 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5188, allocations: 0 / 0.6076 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.5189, allocations: 36.05 kB / 0.6076 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.5192, allocations: 29.77 kB / 0.6076 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.5206, allocations: 1.034 MB / 0.6086 GB, free: 9.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.5209, allocations: 0.7277 MB / 0.6094 GB, free: 8.781 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.5209, allocations: 24.55 kB / 0.6094 GB, free: 8.754 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.159e-05/0.521, allocations: 39.42 kB / 0.6094 GB, free: 8.715 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.521, allocations: 0 / 0.6094 GB, free: 8.715 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.5366, allocations: 3.451 MB / 0.6128 GB, free: 5.398 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002569/0.5369, allocations: 208.9 kB / 0.613 GB, free: 5.164 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.12, allocations: 4 kB / 0.613 GB, free: 5.16 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat