Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.001195/0.001195, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 96.7 kB / 281.6 MB, free: 5.328 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.201/0.201, allocations: 44.16 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.339e-05, allocations: 8.156 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.5012, allocations: 88.4 MB / 0.5811 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5015, allocations: 75.95 kB / 0.5812 GB, free: 7.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01666/0.5182, allocations: 6.64 MB / 0.5877 GB, free: 1.289 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5182, allocations: 0 / 0.5877 GB, free: 1.289 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.645e-05/0.5183, allocations: 12 kB / 0.5877 GB, free: 1.277 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006634/0.5189, allocations: 0.5986 MB / 0.5883 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.519, allocations: 19.98 kB / 0.5883 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.649e-05/0.5191, allocations: 51.42 kB / 0.5883 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/0.5198, allocations: 491 kB / 0.5888 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.5199, allocations: 3.953 kB / 0.5888 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.5199, allocations: 4 kB / 0.5888 GB, free: 32 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.936e-05/0.52, allocations: 27.98 kB / 0.5888 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.5201, allocations: 83.31 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.5201, allocations: 0 / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5202, allocations: 4 kB / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.5202, allocations: 0 / 0.5889 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.5205, allocations: 358.9 kB / 0.5892 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.5207, allocations: 89.34 kB / 0.5893 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.966e-05/0.5208, allocations: 45.73 kB / 0.5894 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.5208, allocations: 3.953 kB / 0.5894 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.521, allocations: 97.09 kB / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.282e-06/0.521, allocations: 0 / 0.5895 GB, free: 15.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003106/0.5213, allocations: 164.9 kB / 0.5896 GB, free: 15.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.5214, allocations: 85.11 kB / 0.5897 GB, free: 14.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.5225, allocations: 0.9005 MB / 0.5906 GB, free: 14.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5225, allocations: 29.7 kB / 0.5906 GB, free: 14.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.5227, allocations: 232.1 kB / 0.5908 GB, free: 13.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.5228, allocations: 23.66 kB / 0.5909 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.5228, allocations: 0 / 0.5909 GB, free: 13.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5229, allocations: 366.8 kB / 0.5912 GB, free: 13.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.195e-05/0.523, allocations: 31.98 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.5231, allocations: 47.44 kB / 0.5913 GB, free: 13.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.499e-05/0.5231, allocations: 35.91 kB / 0.5913 GB, free: 13.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5231, allocations: 4 kB / 0.5913 GB, free: 13.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002351/0.5234, allocations: 157.1 kB / 0.5915 GB, free: 13.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5234, allocations: 9.359 kB / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5234, allocations: 4 kB / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.5234, allocations: 4.062 kB / 0.5915 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.5236, allocations: 19.98 kB / 0.5915 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5236, allocations: 4 kB / 0.5915 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.5237, allocations: 15.84 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.5237, allocations: 4 kB / 0.5915 GB, free: 13.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 8.8e-05/0.5238, allocations: 112.8 kB / 0.5916 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002421/0.5241, allocations: 165 kB / 0.5918 GB, free: 12.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-05/0.5242, allocations: 59.3 kB / 0.5919 GB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.5245, allocations: 189.9 kB / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5245, allocations: 0 / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.5245, allocations: 0 / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.5245, allocations: 0 / 0.592 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.5248, allocations: 369.7 kB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5248, allocations: 0 / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.5249, allocations: 11.94 kB / 0.5924 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5249, allocations: 3.953 kB / 0.5924 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.5249, allocations: 4.375 kB / 0.5924 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5249, allocations: 3.984 kB / 0.5924 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5249, allocations: 8 kB / 0.5924 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.5252, allocations: 211.2 kB / 0.5926 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.5254, allocations: 200.4 kB / 0.5928 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.979e-05/0.5255, allocations: 4 kB / 0.5928 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.716e-05/0.5256, allocations: 4 kB / 0.5928 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.5257, allocations: 19.92 kB / 0.5928 GB, free: 11.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5257, allocations: 4 kB / 0.5928 GB, free: 11.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008052/0.5265, allocations: 0.7214 MB / 0.5935 GB, free: 10.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5265, allocations: 0 / 0.5935 GB, free: 10.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.5268, allocations: 72 kB / 0.5936 GB, free: 10.82 MB / 410.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001257/0.5281, allocations: 1.067 MB / 0.5947 GB, free: 9.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.5282, allocations: 71.94 kB / 0.5947 GB, free: 9.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5283, allocations: 3.938 kB / 0.5947 GB, free: 9.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.648e-05/0.5283, allocations: 39.98 kB / 0.5948 GB, free: 9.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.5287, allocations: 68.59 kB / 0.5948 GB, free: 9.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.5301, allocations: 0.8891 MB / 0.5957 GB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.5305, allocations: 0.8508 MB / 0.5965 GB, free: 7.809 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.5307, allocations: 87.27 kB / 0.5966 GB, free: 7.727 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.5309, allocations: 159.4 kB / 0.5968 GB, free: 7.57 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.5309, allocations: 0 / 0.5968 GB, free: 7.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05292/0.5838, allocations: 8.138 MB / 0.6047 GB, free: 15.45 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/0.584, allocations: 157.4 kB / 0.6049 GB, free: 15.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.629, allocations: 0 / 0.6049 GB, free: 15.26 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat