Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.001547/0.001547, allocations: 177 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.581/1.581, 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.0008897/0.0008897, allocations: 95.98 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.3444/0.3444, allocations: 44.21 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003507, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4754/0.4758, allocations: 61.91 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.606, allocations: 89.06 MB / 0.5966 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.6062, allocations: 87.91 kB / 0.5967 GB, free: 5.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.6213, allocations: 5.361 MB / 0.6019 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6214, allocations: 0 / 0.6019 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.6214, allocations: 4 kB / 0.6019 GB, free: 0.5938 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005595/0.622, allocations: 414.8 kB / 0.6023 GB, free: 144 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.622, allocations: 8.031 kB / 0.6024 GB, free: 136 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.897e-05/0.6221, allocations: 34.56 kB / 0.6024 GB, free: 92 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.6221, allocations: 7.906 kB / 0.6024 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.6225, allocations: 211.9 kB / 0.6026 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.6225, allocations: 7.984 kB / 0.6026 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.6225, allocations: 3.953 kB / 0.6026 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.6227, allocations: 53.67 kB / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6227, allocations: 0 / 0.6027 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.6227, allocations: 7.938 kB / 0.6027 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.6227, allocations: 3.984 kB / 0.6027 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.068e-05/0.6228, allocations: 19.92 kB / 0.6027 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.623, allocations: 185.6 kB / 0.6029 GB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.6232, allocations: 50.66 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.6232, allocations: 7.984 kB / 0.6029 GB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001456/0.6234, allocations: 67.34 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.853e-06/0.6234, allocations: 4 kB / 0.603 GB, free: 15.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002928/0.6237, allocations: 93.7 kB / 0.6031 GB, free: 15.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.6237, allocations: 55.41 kB / 0.6031 GB, free: 15.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.6239, allocations: 167.1 kB / 0.6033 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.624, allocations: 29.7 kB / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.624, allocations: 104.1 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.6241, allocations: 11.8 kB / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-06/0.6241, allocations: 4 kB / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6242, allocations: 322.8 kB / 0.6037 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.6243, allocations: 12 kB / 0.6038 GB, free: 14.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.815e-05/0.6243, allocations: 33.69 kB / 0.6038 GB, free: 14.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.675e-05/0.6244, allocations: 24.06 kB / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.6244, allocations: 0 / 0.6038 GB, free: 14.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001748/0.6246, allocations: 85.52 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6246, allocations: 9.359 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.6246, allocations: 0 / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.6247, allocations: 0 / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.4e-05/0.6247, allocations: 15.98 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6248, allocations: 0 / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.6248, allocations: 7.938 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.6248, allocations: 4 kB / 0.6039 GB, free: 14.34 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 (7): * Single equations (assignments): 7 * 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.0001154/0.625, allocations: 128.5 kB / 0.604 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.625, allocations: 11.89 kB / 0.6041 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.6252, allocations: 97.84 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6252, allocations: 0 / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6252, allocations: 0 / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6253, allocations: 4 kB / 0.6042 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.6254, allocations: 189.6 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6254, allocations: 0 / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.6255, allocations: 19.92 kB / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6255, allocations: 0 / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.6255, allocations: 0 / 0.6044 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.6255, allocations: 7.891 kB / 0.6044 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6255, allocations: 4 kB / 0.6044 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.6257, allocations: 109 kB / 0.6045 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.6258, allocations: 85.02 kB / 0.6046 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.6259, allocations: 8.172 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.6259, allocations: 15.94 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.626, allocations: 3.953 kB / 0.6046 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.626, allocations: 7.984 kB / 0.6046 GB, free: 13.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001449/0.6261, allocations: 144.1 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6261, allocations: 0 / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.6264, allocations: 27.92 kB / 0.6047 GB, free: 13.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00144/0.6278, allocations: 0.9528 MB / 0.6057 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.628, allocations: 51.92 kB / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.628, allocations: 7.875 kB / 0.6057 GB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.54e-05/0.6281, allocations: 19.98 kB / 0.6058 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.6283, allocations: 27.94 kB / 0.6058 GB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.6295, allocations: 0.8019 MB / 0.6066 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6298, allocations: 0.7043 MB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.642e-05/0.6299, allocations: 12.42 kB / 0.6073 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.63, allocations: 31.42 kB / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.63, allocations: 0 / 0.6073 GB, free: 10.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.6471, allocations: 2.715 MB / 0.6099 GB, free: 8.266 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.6474, allocations: 218.2 kB / 0.6102 GB, free: 8.016 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.264, allocations: 112 / 0.6102 GB, free: 8.016 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat