Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",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.001623/0.001623, allocations: 185.4 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.192/2.192, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.001123/0.001123, allocations: 87.61 kB / 270.9 MB, free: 8.398 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.643/0.643, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005043, allocations: 16 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1737, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5841/0.7579, allocations: 87.7 MB / 0.5645 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.7583, allocations: 71.95 kB / 0.5646 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02673/0.7851, allocations: 5.513 MB / 0.5699 GB, free: 9.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.7851, allocations: 0 / 0.5699 GB, free: 9.262 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.748e-05/0.7852, allocations: 8.484 kB / 0.5699 GB, free: 9.254 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.0007673/0.786, allocations: 429.7 kB / 0.5704 GB, free: 8.789 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.786, allocations: 12.03 kB / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.7861, allocations: 38.48 kB / 0.5704 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.7862, allocations: 19.25 kB / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.7866, allocations: 211.4 kB / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.7866, allocations: 0 / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.7866, allocations: 4 kB / 0.5706 GB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.7869, allocations: 65.55 kB / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.7869, allocations: 0 / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.7869, allocations: 0 / 0.5707 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.7869, allocations: 5.516 kB / 0.5707 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.7871, allocations: 19.98 kB / 0.5707 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.7876, allocations: 304.8 kB / 0.571 GB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.7879, allocations: 62.61 kB / 0.5711 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.7879, allocations: 0 / 0.5711 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002089/0.7881, allocations: 71.52 kB / 0.5711 GB, free: 7.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.7882, allocations: 0 / 0.5711 GB, free: 7.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008508/0.789, allocations: 177.2 kB / 0.5713 GB, free: 7.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.7891, allocations: 59.39 kB / 0.5714 GB, free: 7.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.7895, allocations: 196.2 kB / 0.5715 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.7895, allocations: 25.7 kB / 0.5716 GB, free: 7.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.636e-05/0.7896, allocations: 170.4 kB / 0.5717 GB, free: 7.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.7897, allocations: 15.81 kB / 0.5717 GB, free: 7.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.7897, allocations: 4 kB / 0.5717 GB, free: 7.207 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.7898, allocations: 322.8 kB / 0.5721 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.7899, allocations: 19.98 kB / 0.5721 GB, free: 6.863 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.7901, allocations: 37.64 kB / 0.5721 GB, free: 6.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.7902, allocations: 24.78 kB / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7902, allocations: 0 / 0.5721 GB, free: 6.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003156/0.7905, allocations: 101.5 kB / 0.5722 GB, free: 6.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.7906, allocations: 8.031 kB / 0.5722 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.7906, allocations: 4 kB / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.7906, allocations: 0 / 0.5722 GB, free: 6.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.7908, allocations: 16 kB / 0.5723 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.7908, allocations: 4.578 kB / 0.5723 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.7909, allocations: 7.984 kB / 0.5723 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.714e-05/0.791, allocations: 4 kB / 0.5723 GB, free: 6.648 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.0001736/0.7912, allocations: 133.8 kB / 0.5724 GB, free: 6.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.7912, allocations: 8.094 kB / 0.5724 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004212/0.7916, allocations: 135 kB / 0.5725 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.7917, allocations: 0 / 0.5725 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.7917, allocations: 4 kB / 0.5725 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.7917, allocations: 7.938 kB / 0.5726 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.7925, allocations: 419.2 kB / 0.5729 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.7925, allocations: 0 / 0.5729 GB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.376e-05/0.7926, allocations: 11.97 kB / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.7926, allocations: 4 kB / 0.573 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.7927, allocations: 4 kB / 0.573 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.7927, allocations: 3.953 kB / 0.573 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7927, allocations: 0 / 0.573 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000408/0.7931, allocations: 225.8 kB / 0.5732 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.7932, allocations: 97 kB / 0.5733 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.7933, allocations: 12.33 kB / 0.5733 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.7934, allocations: 0 / 0.5733 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.7935, allocations: 7.984 kB / 0.5733 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.7935, allocations: 8 kB / 0.5733 GB, free: 5.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002533/0.7938, allocations: 156.2 kB / 0.5735 GB, free: 5.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7938, allocations: 0 / 0.5735 GB, free: 5.316 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003743/0.7942, allocations: 35.92 kB / 0.5735 GB, free: 5.281 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.002125/0.7963, allocations: 1.202 MB / 0.5747 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.7967, allocations: 59.91 kB / 0.5747 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7967, allocations: 0 / 0.5747 GB, free: 4.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.7968, allocations: 35.92 kB / 0.5748 GB, free: 4.055 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.7973, allocations: 20.55 kB / 0.5748 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.7993, allocations: 0.9579 MB / 0.5757 GB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.7998, allocations: 0.7121 MB / 0.5764 GB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.7999, allocations: 35.42 kB / 0.5764 GB, free: 2.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7999, allocations: 0 / 0.5764 GB, free: 2.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.843/3.643, allocations: 2.586 MB / 0.579 GB, free: 15.67 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat does not exist to compare? outputFormat=mat