Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2",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.001036/0.001036, allocations: 169.7 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.378/1.378, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.000868/0.0008679, allocations: 94.41 kB / 281.6 MB, free: 5.316 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.2101/0.2101, allocations: 44.14 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.264e-05/2.267e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.539, allocations: 88.51 MB / 0.5812 GB, free: 7.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.5393, allocations: 67.97 kB / 0.5813 GB, free: 7.777 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01426/0.5535, allocations: 5.346 MB / 0.5865 GB, free: 2.441 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.5536, allocations: 4 kB / 0.5865 GB, free: 2.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.5536, allocations: 0 / 0.5865 GB, free: 2.438 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.0004028/0.554, allocations: 394.2 kB / 0.5869 GB, free: 2.008 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5541, allocations: 11.98 kB / 0.5869 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.5541, allocations: 11.84 kB / 0.5869 GB, free: 1.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.5544, allocations: 207.4 kB / 0.5871 GB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.5544, allocations: 7.938 kB / 0.5871 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.5544, allocations: 0 / 0.5871 GB, free: 1.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.598e-05/0.5545, allocations: 27.94 kB / 0.5871 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.922e-05/0.5546, allocations: 49.67 kB / 0.5872 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5546, allocations: 0 / 0.5872 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5546, allocations: 3.938 kB / 0.5872 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.5547, allocations: 0 / 0.5872 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.555, allocations: 269.4 kB / 0.5874 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.219e-05/0.5551, allocations: 50.69 kB / 0.5875 GB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.875e-05/0.5551, allocations: 20.92 kB / 0.5875 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.5552, allocations: 0 / 0.5875 GB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/0.5553, allocations: 63.39 kB / 0.5876 GB, free: 1.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.5553, allocations: 0 / 0.5876 GB, free: 1.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004/0.5557, allocations: 149.2 kB / 0.5877 GB, free: 1.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5557, allocations: 51.41 kB / 0.5878 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.5559, allocations: 148.6 kB / 0.5879 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.5559, allocations: 25.7 kB / 0.5879 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.556, allocations: 100.1 kB / 0.588 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.556, allocations: 19.72 kB / 0.588 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.556, allocations: 0 / 0.588 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.566e-05/0.5561, allocations: 322.8 kB / 0.5883 GB, free: 348 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.5561, allocations: 20 kB / 0.5884 GB, free: 328 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.5562, allocations: 37.7 kB / 0.5884 GB, free: 284 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.12e-05/0.5562, allocations: 19.95 kB / 0.5884 GB, free: 264 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5562, allocations: 0 / 0.5884 GB, free: 264 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001337/0.5564, allocations: 101.4 kB / 0.5885 GB, free: 156 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5564, allocations: 4 kB / 0.5885 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.5564, allocations: 192 / 0.5885 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.5564, allocations: 4 kB / 0.5885 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.868e-05/0.5565, allocations: 16 kB / 0.5885 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.5565, allocations: 0 / 0.5885 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.671e-05/0.5566, allocations: 12.02 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.5566, allocations: 0 / 0.5886 GB, free: 120 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 (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 7.402e-05/0.5567, allocations: 116.1 kB / 0.5887 GB, free: 0 / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001441/0.5569, allocations: 89.59 kB / 0.5888 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.002e-05/0.5569, allocations: 16.06 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00018/0.5571, allocations: 110.1 kB / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.5571, allocations: 0 / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5571, allocations: 0 / 0.5889 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5571, allocations: 7.984 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.5575, allocations: 375.8 kB / 0.5892 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5575, allocations: 3.938 kB / 0.5892 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.5575, allocations: 8 kB / 0.5892 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.5575, allocations: 4 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5575, allocations: 0 / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5575, allocations: 0 / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5576, allocations: 4 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.5577, allocations: 213.9 kB / 0.5895 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/0.5578, allocations: 89 kB / 0.5895 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.5578, allocations: 4 kB / 0.5895 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.5579, allocations: 4 kB / 0.5896 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.558, allocations: 11.94 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.558, allocations: 4 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.5581, allocations: 126.8 kB / 0.5897 GB, free: 14.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5581, allocations: 0 / 0.5897 GB, free: 14.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.5583, allocations: 27.98 kB / 0.5897 GB, free: 14.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: 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.001132/0.5595, allocations: 1.096 MB / 0.5908 GB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.5596, allocations: 59.97 kB / 0.5908 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5596, allocations: 0 / 0.5908 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.5597, allocations: 27.94 kB / 0.5909 GB, free: 13.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.5599, allocations: 23.94 kB / 0.5909 GB, free: 13.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.5604, allocations: 207.2 kB / 0.5911 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.5607, allocations: 0.708 MB / 0.5918 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.162e-05/0.5607, allocations: 20.53 kB / 0.5918 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.5608, allocations: 31.42 kB / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5608, allocations: 0 / 0.5918 GB, free: 12.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.5809, allocations: 2.505 MB / 0.5943 GB, free: 10.15 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.5811, allocations: 166 kB / 0.5944 GB, free: 9.957 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.116, allocations: 0 / 0.5944 GB, free: 9.957 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat does not exist to compare? outputFormat=mat