Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",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.001614/0.001619, allocations: 186 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.137/2.137, 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.001193/0.001192, allocations: 92.27 kB / 270.9 MB, free: 8.395 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.5528/0.5528, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004956, allocations: 16 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1318, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.6087, allocations: 87.82 MB / 0.5646 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.609, allocations: 75.97 kB / 0.5647 GB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03544/0.6445, allocations: 7.853 MB / 0.5723 GB, free: 6.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6445, allocations: 4 kB / 0.5723 GB, free: 6.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.244e-05/0.6446, allocations: 4 kB / 0.5723 GB, free: 6.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001065/0.6456, allocations: 0.5578 MB / 0.5729 GB, free: 6.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6457, allocations: 8.031 kB / 0.5729 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.942e-05/0.6458, allocations: 42.55 kB / 0.5729 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.872e-05/0.6459, allocations: 27.62 kB / 0.573 GB, free: 6.152 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007148/0.6466, allocations: 306.9 kB / 0.5733 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.6466, allocations: 4 kB / 0.5733 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.6467, allocations: 11.94 kB / 0.5733 GB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.647, allocations: 96.39 kB / 0.5734 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.6471, allocations: 0 / 0.5734 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.6471, allocations: 0 / 0.5734 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.6471, allocations: 7.984 kB / 0.5734 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.6473, allocations: 51.86 kB / 0.5734 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008554/0.6482, allocations: 481 kB / 0.5739 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.6487, allocations: 117.4 kB / 0.574 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.6488, allocations: 4 kB / 0.574 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003423/0.6491, allocations: 111.2 kB / 0.5741 GB, free: 4.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.906e-06/0.6491, allocations: 0 / 0.5741 GB, free: 4.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001541/0.6507, allocations: 395.6 kB / 0.5745 GB, free: 4.453 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.6508, allocations: 85.05 kB / 0.5746 GB, free: 4.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008795/0.6517, allocations: 436.8 kB / 0.575 GB, free: 3.926 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.6517, allocations: 29.7 kB / 0.575 GB, free: 3.891 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.6519, allocations: 202.8 kB / 0.5752 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.003e-05/0.652, allocations: 47.36 kB / 0.5752 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.539e-05/0.652, allocations: 4 kB / 0.5752 GB, free: 3.637 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.6522, allocations: 318.8 kB / 0.5755 GB, free: 3.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001961/0.6524, allocations: 43.98 kB / 0.5756 GB, free: 3.273 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.6526, allocations: 72.77 kB / 0.5757 GB, free: 3.191 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.6528, allocations: 51.94 kB / 0.5757 GB, free: 3.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6528, allocations: 7.938 kB / 0.5757 GB, free: 3.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00054/0.6534, allocations: 161.4 kB / 0.5759 GB, free: 2.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.6534, allocations: 8.062 kB / 0.5759 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.6534, allocations: 3.984 kB / 0.5759 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.6535, allocations: 4 kB / 0.5759 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.6537, allocations: 32.73 kB / 0.5759 GB, free: 2.922 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.6538, allocations: 7.984 kB / 0.5759 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.654, allocations: 4 kB / 0.5759 GB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.654, allocations: 12 kB / 0.5759 GB, free: 2.898 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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002704/0.6543, allocations: 173.7 kB / 0.5761 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.6544, allocations: 35.62 kB / 0.5761 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/0.6551, allocations: 228.5 kB / 0.5764 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.6551, allocations: 0 / 0.5764 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6551, allocations: 0 / 0.5764 GB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.6552, allocations: 4 kB / 0.5764 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.6566, allocations: 0.7061 MB / 0.5771 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6566, allocations: 0.75 kB / 0.5771 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.6568, allocations: 19.98 kB / 0.5771 GB, free: 1.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.6568, allocations: 4 kB / 0.5771 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.6568, allocations: 8 kB / 0.5771 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/0.6569, allocations: 4 kB / 0.5771 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6569, allocations: 3.938 kB / 0.5771 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.6576, allocations: 424 kB / 0.5775 GB, free: 1.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.6578, allocations: 124.7 kB / 0.5776 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.523e-05/0.6579, allocations: 11.95 kB / 0.5776 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.6581, allocations: 11.98 kB / 0.5776 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.6582, allocations: 15.98 kB / 0.5777 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.6583, allocations: 4 kB / 0.5777 GB, free: 1.004 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000657/0.6589, allocations: 363 kB / 0.578 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6589, allocations: 0 / 0.578 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005348/0.6595, allocations: 63.92 kB / 0.5781 GB, free: 0.5859 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.002492/0.662, allocations: 1.526 MB / 0.5796 GB, free: 15.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.6626, allocations: 123.9 kB / 0.5797 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.6626, allocations: 0 / 0.5797 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.6628, allocations: 64.34 kB / 0.5797 GB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.6635, allocations: 54.25 kB / 0.5798 GB, free: 14.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.6676, allocations: 2.13 MB / 0.5819 GB, free: 12.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005122/0.6681, allocations: 0.7907 MB / 0.5826 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.6684, allocations: 91.41 kB / 0.5827 GB, free: 11.78 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6684, allocations: 0 / 0.5827 GB, free: 11.78 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.701/3.37, allocations: 4.954 MB / 0.5876 GB, free: 6.828 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat