Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31",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.001534/0.001534, allocations: 187.9 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.002/2.002, 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.001244/0.001244, allocations: 96.36 kB / 270.9 MB, free: 8.375 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.5744/0.5744, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004957/0.0004959, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1311, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5008/0.632, allocations: 87.68 MB / 0.5645 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.6323, allocations: 67.97 kB / 0.5645 GB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02402/0.6563, allocations: 5.297 MB / 0.5697 GB, free: 9.551 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6564, allocations: 1.109 kB / 0.5697 GB, free: 9.551 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.82e-05/0.6564, allocations: 4 kB / 0.5697 GB, free: 9.547 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.0007254/0.6571, allocations: 426.3 kB / 0.5701 GB, free: 9.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.6572, allocations: 8.031 kB / 0.5701 GB, free: 9.078 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.6573, allocations: 38.55 kB / 0.5701 GB, free: 9.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.6573, allocations: 11.34 kB / 0.5702 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003745/0.6577, allocations: 213.4 kB / 0.5704 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.6577, allocations: 4 kB / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.6578, allocations: 0 / 0.5704 GB, free: 8.777 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.658, allocations: 57.67 kB / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.658, allocations: 0 / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.658, allocations: 0 / 0.5704 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.658, allocations: 4.969 kB / 0.5704 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.6582, allocations: 31.91 kB / 0.5705 GB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.6587, allocations: 296.8 kB / 0.5707 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.6589, allocations: 58.67 kB / 0.5708 GB, free: 8.273 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.659, allocations: 7.922 kB / 0.5708 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.6592, allocations: 67.52 kB / 0.5709 GB, free: 8.188 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.6592, allocations: 0 / 0.5709 GB, free: 8.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000826/0.66, allocations: 181.2 kB / 0.571 GB, free: 8.004 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/0.6601, allocations: 59.41 kB / 0.5711 GB, free: 7.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.6604, allocations: 169.4 kB / 0.5713 GB, free: 7.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.6605, allocations: 25.7 kB / 0.5713 GB, free: 7.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.6606, allocations: 162.6 kB / 0.5714 GB, free: 7.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.6607, allocations: 23.66 kB / 0.5715 GB, free: 7.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.6607, allocations: 0 / 0.5715 GB, free: 7.547 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.6608, allocations: 318.8 kB / 0.5718 GB, free: 7.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.6609, allocations: 20 kB / 0.5718 GB, free: 7.207 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.6611, allocations: 41.69 kB / 0.5718 GB, free: 7.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.6612, allocations: 20 kB / 0.5718 GB, free: 7.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6612, allocations: 3.938 kB / 0.5718 GB, free: 7.137 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003067/0.6615, allocations: 101.6 kB / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6616, allocations: 4 kB / 0.5719 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6616, allocations: 0 / 0.5719 GB, free: 7.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.6616, allocations: 8.031 kB / 0.572 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.6618, allocations: 15.94 kB / 0.572 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.6618, allocations: 3.953 kB / 0.572 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/0.6619, allocations: 12.73 kB / 0.572 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.6619, allocations: 4 kB / 0.572 GB, free: 6.984 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.0001512/0.6621, allocations: 125.3 kB / 0.5721 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.6621, allocations: 7.906 kB / 0.5721 GB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.6625, allocations: 130.4 kB / 0.5722 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6625, allocations: 0 / 0.5722 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6626, allocations: 0 / 0.5722 GB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.6626, allocations: 7.953 kB / 0.5722 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007106/0.6633, allocations: 411.2 kB / 0.5726 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6633, allocations: 0 / 0.5726 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.6634, allocations: 8 kB / 0.5726 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.6634, allocations: 3.938 kB / 0.5727 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.6634, allocations: 16.02 kB / 0.5727 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.6635, allocations: 3.953 kB / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6635, allocations: 0 / 0.5727 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00037/0.6638, allocations: 214 kB / 0.5729 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.6639, allocations: 93 kB / 0.573 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.935e-05/0.664, allocations: 7.953 kB / 0.573 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.6641, allocations: 8 kB / 0.573 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.6642, allocations: 7.922 kB / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.6642, allocations: 8 kB / 0.573 GB, free: 5.836 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001964/0.6644, allocations: 140.8 kB / 0.5731 GB, free: 5.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6644, allocations: 0 / 0.5731 GB, free: 5.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003863/0.6648, allocations: 31.94 kB / 0.5732 GB, free: 5.668 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.002012/0.6668, allocations: 1.216 MB / 0.5743 GB, free: 4.531 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.6672, allocations: 59.91 kB / 0.5744 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6672, allocations: 0 / 0.5744 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.6673, 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.0003878/0.6677, allocations: 19.98 kB / 0.5745 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.6696, allocations: 0.9019 MB / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.67, allocations: 0.7083 MB / 0.576 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.6701, allocations: 35.53 kB / 0.5761 GB, free: 2.688 MB / 394.7 MB Notification: Performance of SimCode: time 1.041e-06/0.6701, allocations: 3.938 kB / 0.5761 GB, free: 2.684 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/3.47, allocations: 2.444 MB / 0.5784 GB, free: 252 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat does not exist to compare? outputFormat=mat