Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",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.002411/0.00241, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.4/2.4, 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.001171/0.001171, allocations: 99.47 kB / 270.9 MB, free: 8.367 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.5603/0.5603, allocations: 43.54 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005025, allocations: 20 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.142, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5076/0.6496, allocations: 87.67 MB / 0.5644 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.65, allocations: 75.95 kB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.6739, allocations: 5.284 MB / 0.5697 GB, free: 9.559 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6739, allocations: 0 / 0.5697 GB, free: 9.559 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.674, allocations: 4 kB / 0.5697 GB, free: 9.555 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.0007029/0.6747, allocations: 425.8 kB / 0.5701 GB, free: 9.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.6747, allocations: 8.031 kB / 0.5701 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.361e-05/0.6748, allocations: 34.56 kB / 0.5701 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.6749, allocations: 15.34 kB / 0.5701 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.6753, allocations: 217.8 kB / 0.5704 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.6753, allocations: 4 kB / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.6753, allocations: 0 / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.6755, allocations: 61.61 kB / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.6756, allocations: 0 / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6756, allocations: 0 / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/0.6756, allocations: 1.781 kB / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.6757, allocations: 19.98 kB / 0.5704 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.6762, allocations: 304.8 kB / 0.5707 GB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002581/0.6765, allocations: 54.69 kB / 0.5708 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.6765, allocations: 0 / 0.5708 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000208/0.6768, allocations: 75.44 kB / 0.5709 GB, free: 8.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.804e-06/0.6768, allocations: 4 kB / 0.5709 GB, free: 8.191 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000823/0.6776, allocations: 177.2 kB / 0.571 GB, free: 8.012 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.6777, allocations: 63.28 kB / 0.5711 GB, free: 7.938 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.6779, allocations: 165.4 kB / 0.5712 GB, free: 7.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.678, allocations: 29.7 kB / 0.5713 GB, free: 7.734 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.533e-05/0.6781, allocations: 158.6 kB / 0.5714 GB, free: 7.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.6782, allocations: 27.64 kB / 0.5714 GB, free: 7.551 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.6782, allocations: 0 / 0.5714 GB, free: 7.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6783, allocations: 322.8 kB / 0.5718 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.6784, allocations: 19.98 kB / 0.5718 GB, free: 7.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.6786, allocations: 37.7 kB / 0.5718 GB, free: 7.164 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.6787, allocations: 23.98 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6787, allocations: 0 / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002938/0.679, allocations: 101.5 kB / 0.5719 GB, free: 7.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.679, allocations: 4 kB / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.679, allocations: 4.031 kB / 0.5719 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.6791, allocations: 4 kB / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.6792, allocations: 15.98 kB / 0.572 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.6792, allocations: 3.953 kB / 0.572 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.054e-05/0.6793, allocations: 4 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.6794, allocations: 0 / 0.572 GB, free: 7 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.0001442/0.6795, allocations: 137.8 kB / 0.5721 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.6796, allocations: 7.906 kB / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.68, allocations: 122.3 kB / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.68, allocations: 0 / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.68, allocations: 0 / 0.5722 GB, free: 6.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.68, allocations: 7.953 kB / 0.5722 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.6807, allocations: 411.2 kB / 0.5726 GB, free: 6.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6807, allocations: 4 kB / 0.5726 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.6808, allocations: 8 kB / 0.5726 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6808, allocations: 4.031 kB / 0.5726 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.6809, allocations: 4 kB / 0.5726 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.6809, allocations: 4.234 kB / 0.5726 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.6809, allocations: 0 / 0.5726 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.6813, allocations: 229.9 kB / 0.5729 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6814, allocations: 85.02 kB / 0.5729 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.6815, allocations: 16.31 kB / 0.573 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.6816, allocations: 11.98 kB / 0.573 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.6816, allocations: 4 kB / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.6817, allocations: 7.984 kB / 0.573 GB, free: 5.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.6819, allocations: 140.8 kB / 0.5731 GB, free: 5.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6819, allocations: 0 / 0.5731 GB, free: 5.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.6823, allocations: 35.92 kB / 0.5732 GB, free: 5.664 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.00203/0.6843, allocations: 1.206 MB / 0.5743 GB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.6846, allocations: 55.98 kB / 0.5744 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6846, allocations: 3.938 kB / 0.5744 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.6848, allocations: 31.98 kB / 0.5744 GB, free: 4.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.6852, allocations: 27.91 kB / 0.5744 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.687, allocations: 0.9015 MB / 0.5753 GB, free: 3.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.6874, allocations: 0.7121 MB / 0.576 GB, free: 2.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.6875, allocations: 35.42 kB / 0.5761 GB, free: 2.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/0.6875, allocations: 0 / 0.5761 GB, free: 2.68 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.579/3.267, allocations: 2.445 MB / 0.5784 GB, free: 248 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat