Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",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: 176.3 kB / 8.742 MB, free: 344 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.409/1.409, allocations: 221.5 MB / 230.7 MB, free: 7.512 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.0009216/0.0009217, allocations: 108.2 kB / 281.6 MB, free: 5.25 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.1848/0.1848, allocations: 44.15 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.62e-05/2.622e-05, allocations: 8.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 61.92 MB / 0.4948 GB, free: 1.129 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3788/0.5178, allocations: 88.56 MB / 0.5813 GB, free: 7.773 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5181, allocations: 75.88 kB / 0.5813 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01802/0.5361, allocations: 5.542 MB / 0.5867 GB, free: 2.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.5362, allocations: 0 / 0.5867 GB, free: 2.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.5362, allocations: 4 kB / 0.5868 GB, free: 2.176 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005754/0.5368, allocations: 390.3 kB / 0.5871 GB, free: 1.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5369, allocations: 19.92 kB / 0.5871 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.5369, allocations: 7.906 kB / 0.5872 GB, free: 1.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.5373, allocations: 214.7 kB / 0.5874 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.5373, allocations: 7.938 kB / 0.5874 GB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.5374, allocations: 4 kB / 0.5874 GB, free: 1.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.5375, allocations: 20 kB / 0.5874 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.5376, allocations: 45.67 kB / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5377, allocations: 0 / 0.5874 GB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.5377, allocations: 4 kB / 0.5874 GB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5377, allocations: 7.938 kB / 0.5874 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.5382, allocations: 269.4 kB / 0.5877 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.5383, allocations: 50.69 kB / 0.5877 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.5384, allocations: 16.98 kB / 0.5878 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.5384, allocations: 0 / 0.5878 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.5386, allocations: 63.39 kB / 0.5878 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 5.08e-06/0.5386, allocations: 0 / 0.5878 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005297/0.5391, allocations: 153.1 kB / 0.588 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.5392, allocations: 55.39 kB / 0.588 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.5394, allocations: 165.4 kB / 0.5882 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.5394, allocations: 25.7 kB / 0.5882 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.5395, allocations: 100.1 kB / 0.5883 GB, free: 412 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.5396, allocations: 24.47 kB / 0.5883 GB, free: 388 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.5396, allocations: 0 / 0.5883 GB, free: 388 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5397, allocations: 322.8 kB / 0.5886 GB, free: 56 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/0.5398, allocations: 23.94 kB / 0.5887 GB, free: 32 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.65e-05/0.5399, allocations: 37.69 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.917e-05/0.54, allocations: 19.95 kB / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.54, allocations: 0 / 0.5887 GB, free: 15.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001987/0.5402, allocations: 93.47 kB / 0.5888 GB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5402, allocations: 9.406 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.5402, allocations: 0 / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5403, allocations: 4 kB / 0.5888 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.5404, allocations: 15.94 kB / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5404, allocations: 0 / 0.5888 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.083e-05/0.5405, allocations: 11.92 kB / 0.5888 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.5405, allocations: 4.188 kB / 0.5888 GB, free: 15.83 MB / 410.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 (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.0001073/0.5406, allocations: 110.3 kB / 0.5889 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001925/0.5408, allocations: 101.5 kB / 0.589 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.5409, allocations: 15.81 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.5411, allocations: 102.3 kB / 0.5892 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.5412, allocations: 3.984 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.5412, allocations: 0 / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5412, allocations: 3.938 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005481/0.5417, allocations: 371.9 kB / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.5418, allocations: 0 / 0.5895 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.5418, allocations: 23.89 kB / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.5418, allocations: 0 / 0.5895 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5419, allocations: 4 kB / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5419, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5419, allocations: 0 / 0.5895 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.5422, allocations: 218 kB / 0.5898 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/0.5423, allocations: 97 kB / 0.5898 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.5423, allocations: 0 / 0.5898 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.5425, allocations: 4 kB / 0.5898 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.5425, allocations: 16.31 kB / 0.5899 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.5425, allocations: 7.984 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.5427, allocations: 137 kB / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5427, allocations: 0 / 0.59 GB, free: 14.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004104/0.5431, allocations: 27.94 kB / 0.59 GB, free: 14.5 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: 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 (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.001789/0.5449, allocations: 1.1 MB / 0.5911 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.5451, allocations: 59.92 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5451, allocations: 0 / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.357e-05/0.5452, allocations: 23.94 kB / 0.5912 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.5457, allocations: 33.72 kB / 0.5912 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.5464, allocations: 218.9 kB / 0.5914 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.5468, allocations: 0.7079 MB / 0.5921 GB, free: 12.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.5469, allocations: 16.41 kB / 0.5921 GB, free: 12.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.547, allocations: 35.42 kB / 0.5922 GB, free: 12.3 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.547, allocations: 4 kB / 0.5922 GB, free: 12.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.5696, allocations: 2.652 MB / 0.5948 GB, free: 9.652 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/0.5698, allocations: 167.2 kB / 0.5949 GB, free: 9.461 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.184, allocations: 0 / 0.5949 GB, free: 9.461 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat does not exist to compare? outputFormat=mat