Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34",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.002278/0.002279, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.299/2.299, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001188/0.001188, allocations: 85.56 kB / 270.9 MB, free: 8.391 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.5661/0.5661, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005171, allocations: 20 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1445, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4978/0.6424, allocations: 87.71 MB / 0.5645 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/0.6428, allocations: 79.95 kB / 0.5646 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0262/0.669, allocations: 5.382 MB / 0.5698 GB, free: 9.523 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6691, allocations: 0.5469 kB / 0.5698 GB, free: 9.523 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.6691, allocations: 4 kB / 0.5698 GB, free: 9.52 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.0007768/0.6699, allocations: 426.3 kB / 0.5702 GB, free: 9.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6699, allocations: 9.438 kB / 0.5702 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.67, allocations: 38.5 kB / 0.5703 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.6701, allocations: 15.34 kB / 0.5703 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.6705, allocations: 209.9 kB / 0.5705 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.6705, allocations: 4 kB / 0.5705 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.6706, allocations: 0 / 0.5705 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.6708, allocations: 57.66 kB / 0.5706 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.6708, allocations: 4 kB / 0.5706 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.6708, allocations: 0 / 0.5706 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.6709, allocations: 4.969 kB / 0.5706 GB, free: 8.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.671, allocations: 23.92 kB / 0.5706 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.6716, allocations: 300.8 kB / 0.5709 GB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.6718, allocations: 54.67 kB / 0.5709 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.6719, allocations: 0 / 0.5709 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.6721, allocations: 75.45 kB / 0.571 GB, free: 8.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.6721, allocations: 2.719 kB / 0.571 GB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000898/0.673, allocations: 181.2 kB / 0.5712 GB, free: 7.977 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.6731, allocations: 59.39 kB / 0.5712 GB, free: 7.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.6734, allocations: 165.4 kB / 0.5714 GB, free: 7.738 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.6735, allocations: 29.7 kB / 0.5714 GB, free: 7.703 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.6736, allocations: 158.6 kB / 0.5716 GB, free: 7.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.815e-05/0.6737, allocations: 27.64 kB / 0.5716 GB, free: 7.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.253e-06/0.6737, allocations: 0 / 0.5716 GB, free: 7.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.6738, allocations: 318.8 kB / 0.5719 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.993e-05/0.674, allocations: 23.98 kB / 0.5719 GB, free: 7.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.6741, allocations: 37.7 kB / 0.572 GB, free: 7.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.6742, allocations: 23.98 kB / 0.572 GB, free: 7.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6742, allocations: 0 / 0.572 GB, free: 7.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003232/0.6746, allocations: 101.5 kB / 0.5721 GB, free: 7.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6746, allocations: 4 kB / 0.5721 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6746, allocations: 0 / 0.5721 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.6746, allocations: 4.031 kB / 0.5721 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6748, allocations: 19.98 kB / 0.5721 GB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.6748, allocations: 4.734 kB / 0.5721 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.6749, allocations: 4 kB / 0.5721 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.675, allocations: 3.938 kB / 0.5721 GB, free: 6.965 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.0001683/0.6751, allocations: 133.8 kB / 0.5722 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.6752, allocations: 11.89 kB / 0.5723 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.6756, allocations: 123.2 kB / 0.5724 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6756, allocations: 0 / 0.5724 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6756, allocations: 288 / 0.5724 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6757, allocations: 3.953 kB / 0.5724 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007758/0.6764, allocations: 415.2 kB / 0.5728 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.6765, allocations: 7.938 kB / 0.5728 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.6766, allocations: 11.98 kB / 0.5728 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.6766, allocations: 3.938 kB / 0.5728 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.6766, allocations: 4.031 kB / 0.5728 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.6766, allocations: 7.953 kB / 0.5728 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6766, allocations: 0 / 0.5728 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004261/0.6771, allocations: 218 kB / 0.573 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6772, allocations: 89 kB / 0.5731 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.6773, allocations: 7.953 kB / 0.5731 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.6774, allocations: 8.375 kB / 0.5731 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.6774, allocations: 7.984 kB / 0.5731 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.6775, allocations: 4 kB / 0.5731 GB, free: 5.809 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002141/0.6777, allocations: 144.8 kB / 0.5733 GB, free: 5.668 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6777, allocations: 0 / 0.5733 GB, free: 5.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004016/0.6781, allocations: 31.94 kB / 0.5733 GB, free: 5.637 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.002173/0.6803, allocations: 1.209 MB / 0.5745 GB, free: 4.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003492/0.6807, allocations: 63.91 kB / 0.5745 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6807, allocations: 0 / 0.5745 GB, free: 4.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.6809, allocations: 31.98 kB / 0.5746 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.6813, allocations: 23.58 kB / 0.5746 GB, free: 4.387 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.6833, allocations: 0.898 MB / 0.5755 GB, free: 3.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.6838, allocations: 0.716 MB / 0.5762 GB, free: 2.684 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.6839, allocations: 35.53 kB / 0.5762 GB, free: 2.648 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6839, allocations: 3.938 kB / 0.5762 GB, free: 2.645 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.022/3.706, allocations: 2.444 MB / 0.5786 GB, free: 212 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat does not exist to compare? outputFormat=mat