Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002151, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001203, allocations: 99.28 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5335/0.5335, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.00049, allocations: 16 kB / 431.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1409, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4811/0.6221, allocations: 88.5 MB / 0.5653 GB, free: 14.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.6225, allocations: 71.97 kB / 0.5653 GB, free: 14.06 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03164/0.6541, allocations: 6.962 MB / 0.5721 GB, free: 7.152 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6542, allocations: 4 kB / 0.5721 GB, free: 7.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.971e-05/0.6542, allocations: 0 / 0.5721 GB, free: 7.148 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00108/0.6553, allocations: 0.5409 MB / 0.5727 GB, free: 6.555 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/0.6554, allocations: 8.031 kB / 0.5727 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.213e-05/0.6554, allocations: 38.5 kB / 0.5727 GB, free: 6.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.6555, allocations: 27.16 kB / 0.5727 GB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006917/0.6563, allocations: 294.4 kB / 0.573 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.6563, allocations: 4 kB / 0.573 GB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.6563, allocations: 7.984 kB / 0.573 GB, free: 6.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.6567, allocations: 108.9 kB / 0.5731 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6567, allocations: 0 / 0.5731 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.6567, allocations: 0 / 0.5731 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.6568, allocations: 4 kB / 0.5731 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.657, allocations: 49 kB / 0.5732 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008041/0.6578, allocations: 393.6 kB / 0.5735 GB, free: 5.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.6583, allocations: 117.4 kB / 0.5737 GB, free: 5.398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.6584, allocations: 7.938 kB / 0.5737 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003352/0.6587, allocations: 113.8 kB / 0.5738 GB, free: 5.262 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.926e-06/0.6587, allocations: 0 / 0.5738 GB, free: 5.262 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.000806/0.6595, allocations: 189.3 kB / 0.574 GB, free: 5.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.442e-05/0.6597, allocations: 106.8 kB / 0.5741 GB, free: 4.941 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.6603, allocations: 310 kB / 0.5744 GB, free: 4.633 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.563e-05/0.6604, allocations: 29.7 kB / 0.5744 GB, free: 4.598 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.6606, allocations: 189.6 kB / 0.5746 GB, free: 4.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/0.6606, allocations: 31.64 kB / 0.5746 GB, free: 4.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/0.6607, allocations: 4 kB / 0.5746 GB, free: 4.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6608, allocations: 318.8 kB / 0.5749 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.661, allocations: 35.98 kB / 0.5749 GB, free: 4.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.6612, allocations: 81.06 kB / 0.575 GB, free: 3.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.6614, allocations: 35.98 kB / 0.575 GB, free: 3.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6614, allocations: 4.031 kB / 0.5751 GB, free: 3.887 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004812/0.6619, allocations: 133.5 kB / 0.5752 GB, free: 3.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.662, allocations: 4 kB / 0.5752 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.662, allocations: 7.984 kB / 0.5752 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.662, allocations: 0 / 0.5752 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.6622, allocations: 27.92 kB / 0.5752 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.6622, allocations: 0 / 0.5752 GB, free: 3.711 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.6625, allocations: 20.47 kB / 0.5752 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.6625, allocations: 12.02 kB / 0.5752 GB, free: 3.68 MB / 394.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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0002501/0.6628, allocations: 161.8 kB / 0.5754 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.6628, allocations: 31.59 kB / 0.5754 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/0.6635, allocations: 171.4 kB / 0.5756 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6635, allocations: 0 / 0.5756 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.6635, allocations: 0 / 0.5756 GB, free: 3.309 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6635, allocations: 3.938 kB / 0.5756 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004005/0.6639, allocations: 273.5 kB / 0.5759 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.6639, allocations: 0 / 0.5759 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.664, allocations: 11.98 kB / 0.5759 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.6641, allocations: 0 / 0.5759 GB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.6641, allocations: 8 kB / 0.5759 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6641, allocations: 0 / 0.5759 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6641, allocations: 0 / 0.5759 GB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005524/0.6647, allocations: 216.8 kB / 0.5761 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.6648, allocations: 116.8 kB / 0.5762 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.832e-05/0.6649, allocations: 0 / 0.5762 GB, free: 2.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.6651, allocations: 15.98 kB / 0.5762 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.6652, allocations: 7.984 kB / 0.5762 GB, free: 2.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.6652, allocations: 4 kB / 0.5762 GB, free: 2.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004712/0.6657, allocations: 249.9 kB / 0.5765 GB, free: 2.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6657, allocations: 3.938 kB / 0.5765 GB, free: 2.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004187/0.6661, allocations: 51.95 kB / 0.5765 GB, free: 2.27 MB / 394.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002178/0.6683, allocations: 1.127 MB / 0.5776 GB, free: 1.203 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005632/0.6689, allocations: 107.9 kB / 0.5777 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6689, allocations: 0 / 0.5777 GB, free: 1.098 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.6692, allocations: 55.89 kB / 0.5778 GB, free: 1.043 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.6698, allocations: 56.8 kB / 0.5778 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/0.6733, allocations: 1.737 MB / 0.5795 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.6738, allocations: 0.7479 MB / 0.5803 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.674, allocations: 71.41 kB / 0.5803 GB, free: 14.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.674, allocations: 0 / 0.5803 GB, free: 14.33 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.838/3.512, allocations: 4.334 MB / 0.5846 GB, free: 10.01 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat does not exist to compare? outputFormat=mat