Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.00138/0.00138, allocations: 176.5 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.615/1.615, 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.0009023/0.0009022, allocations: 93.84 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.3334/0.3334, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 12 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.3801, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.519, allocations: 89.11 MB / 0.5967 GB, free: 5.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/0.5194, allocations: 83.89 kB / 0.5967 GB, free: 5.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.5342, allocations: 5.428 MB / 0.602 GB, free: 496 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5342, allocations: 0 / 0.602 GB, free: 496 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.5342, allocations: 4 kB / 0.6021 GB, free: 492 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004863/0.5347, allocations: 414.8 kB / 0.6024 GB, free: 28 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.026e-05/0.5348, allocations: 8.031 kB / 0.6025 GB, free: 20 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.5349, allocations: 34.55 kB / 0.6025 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.5349, allocations: 7.906 kB / 0.6025 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.5352, allocations: 211.9 kB / 0.6027 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.5352, allocations: 0 / 0.6027 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.5352, allocations: 11.95 kB / 0.6027 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5354, allocations: 49.67 kB / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5354, allocations: 0 / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.5354, allocations: 0 / 0.6028 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5354, allocations: 7.938 kB / 0.6028 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.856e-05/0.5355, allocations: 15.98 kB / 0.6028 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.5357, allocations: 181.6 kB / 0.603 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.5358, allocations: 62.55 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.5359, allocations: 0 / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.536, allocations: 71.44 kB / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.536, allocations: 0 / 0.6031 GB, free: 15.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002612/0.5363, allocations: 105.4 kB / 0.6032 GB, free: 15.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/0.5363, allocations: 55.41 kB / 0.6032 GB, free: 15.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.5365, allocations: 167.1 kB / 0.6034 GB, free: 14.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.5365, allocations: 29.7 kB / 0.6034 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.528e-05/0.5366, allocations: 100.1 kB / 0.6035 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.5366, allocations: 15.81 kB / 0.6035 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.5366, allocations: 0 / 0.6035 GB, free: 14.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5368, allocations: 322.8 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.5368, allocations: 15.98 kB / 0.6039 GB, free: 14.42 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-05/0.5369, allocations: 29.7 kB / 0.6039 GB, free: 14.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.5369, allocations: 23.98 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.537, allocations: 0 / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001434/0.5371, allocations: 77.53 kB / 0.604 GB, free: 14.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.5371, allocations: 7.953 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5371, allocations: 4 kB / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5372, allocations: 0 / 0.604 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.5372, allocations: 15.98 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.5372, allocations: 0 / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.5373, allocations: 7.938 kB / 0.604 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.5373, allocations: 8.031 kB / 0.604 GB, free: 14.23 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 9.716e-05/0.5374, allocations: 126.3 kB / 0.6041 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.5374, allocations: 7.906 kB / 0.6041 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.5376, allocations: 105.8 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5377, allocations: 0 / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5377, allocations: 0 / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5377, allocations: 0 / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.5378, allocations: 185.6 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5378, allocations: 4 kB / 0.6044 GB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.001e-05/0.5379, allocations: 7.984 kB / 0.6044 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5379, allocations: 11.88 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.5379, allocations: 0 / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.5379, allocations: 4.328 kB / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5379, allocations: 0 / 0.6045 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.5381, allocations: 113 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.5382, allocations: 97 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.5382, allocations: 4 kB / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.5383, allocations: 0 / 0.6047 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.5383, allocations: 11.94 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.5383, allocations: 4 kB / 0.6047 GB, free: 13.46 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5385, allocations: 144 kB / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5385, allocations: 0 / 0.6048 GB, free: 13.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002075/0.5387, allocations: 27.94 kB / 0.6048 GB, free: 13.29 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.001236/0.5399, allocations: 0.9615 MB / 0.6058 GB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.5401, allocations: 47.91 kB / 0.6058 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.5401, allocations: 3.938 kB / 0.6058 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.5402, allocations: 24 kB / 0.6058 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.5404, allocations: 31.92 kB / 0.6059 GB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.5414, allocations: 0.8057 MB / 0.6067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.5417, allocations: 0.7043 MB / 0.6074 GB, free: 10.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.8e-05/0.5418, allocations: 8.438 kB / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.741e-05/0.5418, allocations: 31.42 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/0.5418, allocations: 4 kB / 0.6074 GB, free: 10.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01276/0.5546, allocations: 2.717 MB / 0.61 GB, free: 8.152 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.5548, allocations: 210.2 kB / 0.6102 GB, free: 7.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/2.155, allocations: 0 / 0.6102 GB, free: 7.91 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat does not exist to compare? outputFormat=mat