Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",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.002178/0.002178, 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.054/2.054, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001185/0.001185, allocations: 90.84 kB / 270.9 MB, free: 8.375 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.5838/0.5838, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1494, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.6356, allocations: 87.71 MB / 0.5645 GB, free: 14.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.6359, allocations: 79.95 kB / 0.5646 GB, free: 14.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02422/0.6602, allocations: 5.382 MB / 0.5698 GB, free: 9.512 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6602, allocations: 0 / 0.5698 GB, free: 9.512 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.6602, allocations: 4 kB / 0.5698 GB, free: 9.508 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.0006805/0.6609, allocations: 422.3 kB / 0.5702 GB, free: 9.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.661, allocations: 8.031 kB / 0.5702 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.6611, allocations: 38.55 kB / 0.5703 GB, free: 9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.6611, allocations: 19.34 kB / 0.5703 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.6615, allocations: 209.9 kB / 0.5705 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.6615, allocations: 4 kB / 0.5705 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.6616, allocations: 0 / 0.5705 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.6618, allocations: 53.67 kB / 0.5705 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6618, allocations: 0 / 0.5705 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6618, allocations: 8.781 kB / 0.5705 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.6618, allocations: 1.031 kB / 0.5706 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.662, allocations: 27.91 kB / 0.5706 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.6625, allocations: 296.8 kB / 0.5709 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.6627, allocations: 54.67 kB / 0.5709 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.6628, allocations: 0 / 0.5709 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.663, allocations: 75.45 kB / 0.571 GB, free: 8.156 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.663, allocations: 0 / 0.571 GB, free: 8.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008059/0.6638, allocations: 181.2 kB / 0.5712 GB, free: 7.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.6639, allocations: 59.34 kB / 0.5712 GB, free: 7.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.6642, allocations: 169.4 kB / 0.5714 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.6642, allocations: 29.7 kB / 0.5714 GB, free: 7.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.6643, allocations: 158.6 kB / 0.5716 GB, free: 7.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.6643, allocations: 27.64 kB / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/0.6644, allocations: 0 / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.6645, allocations: 322.8 kB / 0.5719 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.286e-05/0.6646, allocations: 23.98 kB / 0.5719 GB, free: 7.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.6647, allocations: 37.7 kB / 0.5719 GB, free: 7.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.6649, allocations: 20 kB / 0.572 GB, free: 7.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6649, allocations: 0 / 0.572 GB, free: 7.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002874/0.6652, allocations: 105.6 kB / 0.5721 GB, free: 6.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6652, allocations: 8.031 kB / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6652, allocations: 0 / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.6652, allocations: 0 / 0.5721 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.6654, allocations: 16 kB / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.6654, allocations: 7.891 kB / 0.5721 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.6655, allocations: 7.984 kB / 0.5721 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.6655, allocations: 0 / 0.5721 GB, free: 6.953 MB / 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 () * Number of clocked 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.0001385/0.6657, allocations: 129.8 kB / 0.5722 GB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.6657, allocations: 7.906 kB / 0.5722 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003841/0.6661, allocations: 126.3 kB / 0.5724 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6661, allocations: 0 / 0.5724 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.6661, allocations: 3.984 kB / 0.5724 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.6662, allocations: 3.953 kB / 0.5724 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.6669, allocations: 411.2 kB / 0.5728 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6669, allocations: 0 / 0.5728 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.667, allocations: 15.94 kB / 0.5728 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.667, allocations: 4.031 kB / 0.5728 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.667, allocations: 3.984 kB / 0.5728 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.667, allocations: 8.234 kB / 0.5728 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.667, allocations: 0 / 0.5728 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003773/0.6674, allocations: 221.9 kB / 0.573 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.743e-05/0.6675, allocations: 93 kB / 0.5731 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.977e-05/0.6676, allocations: 7.953 kB / 0.5731 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.6677, allocations: 4 kB / 0.5731 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.6677, allocations: 7.984 kB / 0.5731 GB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.6678, allocations: 4 kB / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.668, allocations: 148.7 kB / 0.5733 GB, free: 5.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.668, allocations: 0 / 0.5733 GB, free: 5.656 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006323/0.6686, allocations: 31.94 kB / 0.5733 GB, free: 5.625 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * 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.002004/0.6706, allocations: 1.202 MB / 0.5745 GB, free: 4.496 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002766/0.6709, allocations: 63.91 kB / 0.5745 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.671, allocations: 0 / 0.5745 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.6711, allocations: 31.98 kB / 0.5745 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.6715, allocations: 24.23 kB / 0.5746 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.6732, allocations: 0.909 MB / 0.5755 GB, free: 3.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.6736, allocations: 0.7084 MB / 0.5762 GB, free: 2.676 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.6738, allocations: 39.36 kB / 0.5762 GB, free: 2.637 MB / 394.7 MB Notification: Performance of SimCode: time 1.163e-06/0.6738, allocations: 0 / 0.5762 GB, free: 2.637 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.07/3.744, allocations: 2.445 MB / 0.5786 GB, free: 204 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat does not exist to compare? outputFormat=mat