Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.0009702/0.0009702, allocations: 176.8 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.337/1.337, 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.0008498/0.0008498, allocations: 90.94 kB / 292.1 MB, free: 10.93 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.4109/0.4109, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 16 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3622, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4802, allocations: 89.25 MB / 0.5968 GB, free: 5.867 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4805, allocations: 83.86 kB / 0.5969 GB, free: 5.793 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.4953, allocations: 5.5 MB / 0.6023 GB, free: 300 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4954, allocations: 3.938 kB / 0.6023 GB, free: 296 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.4954, allocations: 0 / 0.6023 GB, free: 296 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.000546/0.4959, allocations: 414.9 kB / 0.6027 GB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.496, allocations: 8.031 kB / 0.6027 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.496, allocations: 34.56 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.4961, allocations: 19.78 kB / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.4964, allocations: 219.8 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4964, allocations: 3.953 kB / 0.6029 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4964, allocations: 4 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.4966, allocations: 53.67 kB / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.4966, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.4966, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.4966, allocations: 0 / 0.603 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.4967, allocations: 23.98 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.497, allocations: 296.8 kB / 0.6033 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.4972, allocations: 54.69 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.4972, allocations: 4 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.4974, allocations: 75.44 kB / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4974, allocations: 0 / 0.6034 GB, free: 14.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005233/0.4979, allocations: 173.2 kB / 0.6036 GB, free: 14.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.498, allocations: 59.33 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4982, allocations: 171.1 kB / 0.6038 GB, free: 14.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.4982, allocations: 25.7 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.4983, allocations: 100.1 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4983, allocations: 27.64 kB / 0.604 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.4983, allocations: 4 kB / 0.604 GB, free: 14.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.4984, allocations: 330.8 kB / 0.6043 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.4985, allocations: 20 kB / 0.6043 GB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.4986, allocations: 33.7 kB / 0.6043 GB, free: 13.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.4987, allocations: 24.17 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.4987, allocations: 4 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.4989, allocations: 105.5 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4989, allocations: 12.02 kB / 0.6045 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4989, allocations: 4 kB / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.4989, allocations: 0 / 0.6045 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.753e-05/0.499, allocations: 12.38 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.499, allocations: 0 / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.4991, allocations: 8 kB / 0.6045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.4991, allocations: 11.92 kB / 0.6045 GB, free: 13.77 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.0001125/0.4992, allocations: 130.3 kB / 0.6046 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.4992, allocations: 7.906 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.4995, allocations: 122.3 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4995, allocations: 4 kB / 0.6047 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.4995, allocations: 3.984 kB / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4995, allocations: 0 / 0.6048 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004606/0.5, allocations: 415.2 kB / 0.6051 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5, allocations: 0 / 0.6051 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.036e-05/0.5, allocations: 8 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5001, allocations: 4.031 kB / 0.6052 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5001, allocations: 7.984 kB / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.5001, allocations: 288 / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5001, allocations: 0 / 0.6052 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.5003, allocations: 233.8 kB / 0.6054 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.5004, allocations: 97 kB / 0.6055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.5004, allocations: 0 / 0.6055 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.436e-05/0.5005, allocations: 8 kB / 0.6055 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.5006, allocations: 11.94 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/0.5006, allocations: 0 / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.5007, allocations: 148 kB / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5007, allocations: 0 / 0.6056 GB, free: 12.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.501, allocations: 31.94 kB / 0.6057 GB, free: 12.45 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.001475/0.5025, allocations: 1.195 MB / 0.6068 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.5026, allocations: 59.92 kB / 0.6069 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5026, allocations: 0 / 0.6069 GB, free: 11.35 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.5027, allocations: 36.12 kB / 0.6069 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.503, allocations: 42.97 kB / 0.607 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.5041, allocations: 0.8615 MB / 0.6078 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.5044, allocations: 0.7121 MB / 0.6085 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.077e-05/0.5044, allocations: 20.41 kB / 0.6085 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.394e-05/0.5045, allocations: 35.42 kB / 0.6086 GB, free: 9.559 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5045, allocations: 0 / 0.6086 GB, free: 9.559 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.517, allocations: 2.996 MB / 0.6115 GB, free: 6.695 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.5172, allocations: 218 kB / 0.6117 GB, free: 6.449 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.128, allocations: 0 / 0.6117 GB, free: 6.449 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat