Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.00153/0.00153, allocations: 174.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.455/1.455, allocations: 221.5 MB / 230.7 MB, free: 7.578 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.0009619/0.0009617, allocations: 94.81 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.1888/0.1888, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.266e-05, allocations: 8.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.391/0.5097, allocations: 88.38 MB / 0.5811 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.51, allocations: 71.97 kB / 0.5811 GB, free: 7.922 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.5253, allocations: 5.391 MB / 0.5864 GB, free: 2.547 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5254, allocations: 0 / 0.5864 GB, free: 2.547 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.5254, allocations: 4 kB / 0.5864 GB, free: 2.543 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004873/0.5259, allocations: 386.2 kB / 0.5868 GB, free: 2.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.5259, allocations: 15.98 kB / 0.5868 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.646e-05/0.526, allocations: 11.91 kB / 0.5868 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.5263, allocations: 210.8 kB / 0.587 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.5263, allocations: 4 kB / 0.587 GB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.5263, allocations: 3.953 kB / 0.587 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.339e-05/0.5264, allocations: 19.92 kB / 0.587 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.5265, allocations: 45.69 kB / 0.5871 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5265, allocations: 0 / 0.5871 GB, free: 1.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.5265, allocations: 4 kB / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.5266, allocations: 0 / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.5267, allocations: 158.2 kB / 0.5872 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.5268, allocations: 46.62 kB / 0.5873 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.5269, allocations: 20.94 kB / 0.5873 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.5269, allocations: 0 / 0.5873 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.527, allocations: 71.23 kB / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.527, allocations: 4 kB / 0.5874 GB, free: 1.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000202/0.5273, allocations: 77.58 kB / 0.5874 GB, free: 1.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.5273, allocations: 51.41 kB / 0.5875 GB, free: 1.266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.5275, allocations: 157.4 kB / 0.5876 GB, free: 1.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5275, allocations: 25.7 kB / 0.5877 GB, free: 1.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.5275, allocations: 104.1 kB / 0.5878 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.5276, allocations: 15.75 kB / 0.5878 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5276, allocations: 0 / 0.5878 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.635e-05/0.5277, allocations: 326.8 kB / 0.5881 GB, free: 0.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.674e-05/0.5277, allocations: 12 kB / 0.5881 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.5278, allocations: 33.64 kB / 0.5881 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.5278, allocations: 12 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.5278, allocations: 0 / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000104/0.5279, allocations: 69.59 kB / 0.5882 GB, free: 500 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5279, allocations: 4 kB / 0.5882 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.5279, allocations: 160 / 0.5882 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.528, allocations: 7.984 kB / 0.5882 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.528, allocations: 19.92 kB / 0.5882 GB, free: 468 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5281, allocations: 3.984 kB / 0.5883 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.5281, allocations: 4 kB / 0.5883 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.5281, allocations: 7.938 kB / 0.5883 GB, free: 452 kB / 394.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 () * 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 7.062e-05/0.5282, allocations: 105 kB / 0.5884 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001125/0.5283, allocations: 81.61 kB / 0.5884 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.5284, allocations: 11.86 kB / 0.5885 GB, free: 240 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.5285, allocations: 94.02 kB / 0.5885 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5285, allocations: 0 / 0.5885 GB, free: 140 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5285, allocations: 4 kB / 0.5885 GB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5285, allocations: 3.984 kB / 0.5885 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.5287, allocations: 162.2 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5287, allocations: 4 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.774e-05/0.5287, allocations: 4 kB / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.5287, allocations: 0 / 0.5887 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.5288, allocations: 3.984 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5288, allocations: 3.953 kB / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5288, allocations: 0 / 0.5887 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.5289, allocations: 116.9 kB / 0.5888 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.529, allocations: 92.94 kB / 0.5889 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.529, allocations: 0 / 0.5889 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.712e-05/0.5291, allocations: 4 kB / 0.5889 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.5291, allocations: 15.88 kB / 0.5889 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.5291, allocations: 0 / 0.5889 GB, free: 15.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.5292, allocations: 137 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5292, allocations: 4 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002317/0.5295, allocations: 20 kB / 0.5891 GB, free: 15.5 MB / 410.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) * 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.001089/0.5306, allocations: 0.885 MB / 0.59 GB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.954e-05/0.5307, allocations: 35.94 kB / 0.59 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5307, allocations: 0 / 0.59 GB, free: 14.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.035e-05/0.5307, allocations: 20 kB / 0.59 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.531, allocations: 23.92 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.5315, allocations: 201.6 kB / 0.5902 GB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.5318, allocations: 0.7041 MB / 0.5909 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.5318, allocations: 12.42 kB / 0.5909 GB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.151e-05/0.5319, allocations: 35.42 kB / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5319, allocations: 0 / 0.591 GB, free: 13.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.5523, allocations: 2.366 MB / 0.5933 GB, free: 11.22 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/0.5525, allocations: 171.2 kB / 0.5934 GB, free: 11.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.105, allocations: 0 / 0.5934 GB, free: 11.03 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat does not exist to compare? outputFormat=mat