Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",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.001561/0.001561, allocations: 186.3 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.056/2.056, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001124/0.001124, allocations: 88.34 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.5712/0.5712, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.000508, allocations: 16 kB / 431.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1297, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5977, allocations: 87.67 MB / 0.5644 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/0.5981, allocations: 79.95 kB / 0.5645 GB, free: 14.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02512/0.6232, allocations: 5.289 MB / 0.5697 GB, free: 9.535 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6233, allocations: 0.5469 kB / 0.5697 GB, free: 9.535 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.6233, allocations: 0 / 0.5697 GB, free: 9.535 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.0007864/0.6241, allocations: 427 kB / 0.5701 GB, free: 9.074 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.6242, allocations: 12.03 kB / 0.5701 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.6242, allocations: 31.06 kB / 0.5701 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.6243, allocations: 15.33 kB / 0.5702 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.6247, allocations: 213.9 kB / 0.5704 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.6248, allocations: 8 kB / 0.5704 GB, free: 8.758 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.6248, allocations: 4 kB / 0.5704 GB, free: 8.754 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.625, allocations: 57.67 kB / 0.5704 GB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.625, allocations: 7.266 kB / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.6251, allocations: 0 / 0.5704 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.6251, allocations: 8.969 kB / 0.5704 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.6252, allocations: 19.92 kB / 0.5705 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.6258, allocations: 300.8 kB / 0.5707 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.6261, allocations: 58.67 kB / 0.5708 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.6261, allocations: 0 / 0.5708 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.6263, allocations: 67.45 kB / 0.5709 GB, free: 8.172 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.914e-06/0.6263, allocations: 4 kB / 0.5709 GB, free: 8.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008315/0.6272, allocations: 185.1 kB / 0.571 GB, free: 7.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.6272, allocations: 51.41 kB / 0.5711 GB, free: 7.918 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.6275, allocations: 165.4 kB / 0.5713 GB, free: 7.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.6276, allocations: 29.7 kB / 0.5713 GB, free: 7.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.6277, allocations: 166.5 kB / 0.5714 GB, free: 7.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.293e-05/0.6277, allocations: 23.66 kB / 0.5715 GB, free: 7.527 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.904e-06/0.6278, allocations: 0 / 0.5715 GB, free: 7.527 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6279, allocations: 318.8 kB / 0.5718 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.628, allocations: 20 kB / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.6282, allocations: 33.7 kB / 0.5718 GB, free: 7.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.6283, allocations: 31.98 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6283, allocations: 0 / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002973/0.6286, allocations: 89.53 kB / 0.5719 GB, free: 7.023 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.6287, allocations: 8 kB / 0.5719 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.6287, allocations: 0 / 0.5719 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.6287, allocations: 4.031 kB / 0.5719 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.6289, allocations: 19.98 kB / 0.572 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.6289, allocations: 11.89 kB / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.629, allocations: 0 / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.629, allocations: 4 kB / 0.572 GB, free: 6.977 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.0001557/0.6292, allocations: 130.6 kB / 0.5721 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.6292, allocations: 11.91 kB / 0.5721 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004203/0.6297, allocations: 118.5 kB / 0.5722 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6297, allocations: 4 kB / 0.5722 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6297, allocations: 96 / 0.5722 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.6297, allocations: 11.88 kB / 0.5722 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.6305, allocations: 411.2 kB / 0.5726 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6305, allocations: 0 / 0.5726 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.6306, allocations: 8.375 kB / 0.5726 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.411e-06/0.6306, allocations: 7.938 kB / 0.5726 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.6306, allocations: 4 kB / 0.5727 GB, free: 6.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6306, allocations: 7.984 kB / 0.5727 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.6307, allocations: 7.984 kB / 0.5727 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.6311, allocations: 214 kB / 0.5729 GB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.6312, allocations: 93 kB / 0.573 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.6312, allocations: 3.953 kB / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.6313, allocations: 8 kB / 0.573 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.459e-05/0.6314, allocations: 11.98 kB / 0.573 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.6314, allocations: 4 kB / 0.573 GB, free: 5.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.6317, allocations: 148.7 kB / 0.5731 GB, free: 5.676 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6317, allocations: 0 / 0.5731 GB, free: 5.676 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.6321, allocations: 31.94 kB / 0.5732 GB, free: 5.645 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.002146/0.6342, allocations: 1.202 MB / 0.5743 GB, free: 4.516 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003544/0.6347, allocations: 67.91 kB / 0.5744 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6347, allocations: 0 / 0.5744 GB, free: 4.449 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.6348, allocations: 27.98 kB / 0.5744 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.6352, allocations: 27.97 kB / 0.5745 GB, free: 4.395 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.6372, allocations: 0.8978 MB / 0.5753 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.6376, allocations: 0.7082 MB / 0.576 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.6378, allocations: 35.53 kB / 0.5761 GB, free: 2.668 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6378, allocations: 7.938 kB / 0.5761 GB, free: 2.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.738/3.376, allocations: 2.453 MB / 0.5785 GB, free: 220 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat does not exist to compare? outputFormat=mat