Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001114/0.001114, allocations: 176.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.596/1.596, 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.001084/0.001084, allocations: 90.7 kB / 292.1 MB, free: 10.9 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.54/0.54, allocations: 44.22 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003889/0.000389, allocations: 12 kB / 460 MB, free: 1.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4246, allocations: 61.91 MB / 0.5096 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.5456, allocations: 89.26 MB / 0.5968 GB, free: 5.832 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.5459, allocations: 83.91 kB / 0.5969 GB, free: 5.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01459/0.5605, allocations: 5.488 MB / 0.6023 GB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.977e-06/0.5605, allocations: 0 / 0.6023 GB, free: 276 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.5605, allocations: 3.938 kB / 0.6023 GB, free: 272 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.0005224/0.5611, allocations: 418.8 kB / 0.6027 GB, free: 15.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.5611, allocations: 16.02 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.5612, allocations: 34.5 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.5612, allocations: 15.91 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.5615, allocations: 211.8 kB / 0.6029 GB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5616, allocations: 7.953 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.5616, allocations: 4 kB / 0.6029 GB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.5617, allocations: 53.67 kB / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.5617, allocations: 0 / 0.603 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5618, allocations: 3.984 kB / 0.603 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5618, allocations: 4 kB / 0.603 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.157e-05/0.5618, allocations: 23.91 kB / 0.603 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.5622, allocations: 296.9 kB / 0.6033 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.5624, allocations: 58.67 kB / 0.6034 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.5624, allocations: 0 / 0.6034 GB, free: 14.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.5626, allocations: 67.45 kB / 0.6034 GB, free: 14.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.5626, allocations: 4 kB / 0.6034 GB, free: 14.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005348/0.5631, allocations: 177.2 kB / 0.6036 GB, free: 14.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.5632, allocations: 51.41 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.5633, allocations: 171.1 kB / 0.6038 GB, free: 14.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.5634, allocations: 29.7 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.5634, allocations: 96.14 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.5635, allocations: 27.64 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.5635, allocations: 4 kB / 0.604 GB, free: 14.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5636, allocations: 326.8 kB / 0.6043 GB, free: 13.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.699e-05/0.5637, allocations: 23.98 kB / 0.6043 GB, free: 13.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.728e-05/0.5637, allocations: 37.7 kB / 0.6043 GB, free: 13.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.176e-05/0.5638, allocations: 28.17 kB / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.5638, allocations: 0 / 0.6043 GB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.564, allocations: 101.4 kB / 0.6044 GB, free: 13.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.564, allocations: 12.03 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.564, allocations: 384 / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5641, allocations: 0 / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.5642, allocations: 15.98 kB / 0.6045 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.5642, allocations: 8 kB / 0.6045 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.5643, allocations: 4 kB / 0.6045 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.5643, allocations: 4.188 kB / 0.6045 GB, free: 13.75 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.0001141/0.5644, allocations: 134.2 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.5644, allocations: 15.84 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002894/0.5647, allocations: 122.3 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.5647, allocations: 0 / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5648, allocations: 0 / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5648, allocations: 0 / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.5653, allocations: 415.2 kB / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5653, allocations: 0 / 0.6051 GB, free: 13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.5654, allocations: 11.98 kB / 0.6052 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5654, allocations: 8.031 kB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5654, allocations: 4 kB / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5654, allocations: 0 / 0.6052 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5654, allocations: 4 kB / 0.6052 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.5657, allocations: 222.1 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.553e-05/0.5658, allocations: 93 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.5658, allocations: 4 kB / 0.6055 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.5659, allocations: 4 kB / 0.6055 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/0.566, allocations: 11.94 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.566, allocations: 8 kB / 0.6055 GB, free: 12.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001366/0.5661, allocations: 144 kB / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5661, allocations: 0 / 0.6056 GB, free: 12.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002984/0.5664, allocations: 31.94 kB / 0.6057 GB, free: 12.42 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.001752/0.5682, allocations: 1.205 MB / 0.6068 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001967/0.5684, allocations: 59.91 kB / 0.6069 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5684, allocations: 0 / 0.6069 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.5685, allocations: 31.98 kB / 0.6069 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.0002996/0.5688, allocations: 27.94 kB / 0.607 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.5701, allocations: 0.8654 MB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.5704, allocations: 0.7121 MB / 0.6085 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.608e-05/0.5705, allocations: 28.7 kB / 0.6085 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.448e-05/0.5706, allocations: 35.42 kB / 0.6086 GB, free: 9.531 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5706, allocations: 0 / 0.6086 GB, free: 9.531 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.5853, allocations: 3.005 MB / 0.6115 GB, free: 6.66 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.5856, allocations: 214.1 kB / 0.6117 GB, free: 6.418 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.144, allocations: 0 / 0.6117 GB, free: 6.418 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat