Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",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.002471/0.00247, allocations: 186.7 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.086/2.086, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.00111/0.00111, allocations: 88.28 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.5121/0.5121, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004666, allocations: 16 kB / 431.5 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1281, allocations: 58.85 MB / 490.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5457/0.6739, allocations: 87.71 MB / 0.5645 GB, free: 14.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.6742, allocations: 79.95 kB / 0.5646 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0251/0.6994, allocations: 5.46 MB / 0.5699 GB, free: 9.492 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6994, allocations: 0.5469 kB / 0.5699 GB, free: 9.492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.6994, allocations: 4.656 kB / 0.5699 GB, free: 9.488 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.000727/0.7002, allocations: 434.3 kB / 0.5703 GB, free: 9.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.7002, allocations: 8.031 kB / 0.5703 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.7003, allocations: 30.56 kB / 0.5703 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.7004, allocations: 23.25 kB / 0.5704 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.7008, allocations: 203.6 kB / 0.5706 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.7008, allocations: 4 kB / 0.5706 GB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.7009, allocations: 7.375 kB / 0.5706 GB, free: 8.703 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.7011, allocations: 66.47 kB / 0.5706 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.7011, allocations: 0 / 0.5706 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.7011, allocations: 0 / 0.5706 GB, free: 8.633 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.7011, allocations: 4.969 kB / 0.5706 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.7013, allocations: 19.98 kB / 0.5707 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005065/0.7018, allocations: 296.9 kB / 0.5709 GB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.7021, allocations: 66.61 kB / 0.571 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.7021, allocations: 128 / 0.571 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002099/0.7023, allocations: 67.39 kB / 0.5711 GB, free: 8.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.7023, allocations: 0 / 0.5711 GB, free: 8.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008581/0.7032, allocations: 189 kB / 0.5713 GB, free: 7.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.7033, allocations: 51.41 kB / 0.5713 GB, free: 7.863 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.7036, allocations: 184.8 kB / 0.5715 GB, free: 7.676 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.7036, allocations: 33.69 kB / 0.5715 GB, free: 7.637 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.686e-05/0.7037, allocations: 162.6 kB / 0.5717 GB, free: 7.477 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.7037, allocations: 23.66 kB / 0.5717 GB, free: 7.453 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-06/0.7038, allocations: 0 / 0.5717 GB, free: 7.453 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.7039, allocations: 318.8 kB / 0.572 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.704, allocations: 20 kB / 0.572 GB, free: 7.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.7042, allocations: 37.7 kB / 0.572 GB, free: 7.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.7043, allocations: 27.92 kB / 0.5721 GB, free: 7.043 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.7043, allocations: 4 kB / 0.5721 GB, free: 7.039 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002994/0.7046, allocations: 89.67 kB / 0.5722 GB, free: 6.945 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7046, allocations: 8 kB / 0.5722 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7046, allocations: 0 / 0.5722 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.7047, allocations: 3.984 kB / 0.5722 GB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.7048, allocations: 15.94 kB / 0.5722 GB, free: 6.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7049, allocations: 11.98 kB / 0.5722 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.644e-05/0.705, allocations: 0 / 0.5722 GB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.705, allocations: 4.75 kB / 0.5722 GB, free: 6.902 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.0001527/0.7051, allocations: 129.8 kB / 0.5723 GB, free: 6.766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.7052, allocations: 15.81 kB / 0.5723 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.7056, allocations: 119.2 kB / 0.5725 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7056, allocations: 96 / 0.5725 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7057, allocations: 7.922 kB / 0.5725 GB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.7057, allocations: 7.953 kB / 0.5725 GB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007421/0.7064, allocations: 415.5 kB / 0.5729 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.7064, allocations: 0 / 0.5729 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.236e-05/0.7065, allocations: 11.98 kB / 0.5729 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.7066, allocations: 7.938 kB / 0.5729 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.7066, allocations: 4 kB / 0.5729 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.7066, allocations: 3.953 kB / 0.5729 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7066, allocations: 3.938 kB / 0.5729 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.707, allocations: 218 kB / 0.5731 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.7071, allocations: 100.9 kB / 0.5732 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.7072, allocations: 12.31 kB / 0.5732 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.7073, allocations: 0 / 0.5732 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.7074, allocations: 7.984 kB / 0.5732 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.7074, allocations: 16 kB / 0.5732 GB, free: 5.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002366/0.7077, allocations: 152.9 kB / 0.5734 GB, free: 5.574 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7077, allocations: 0 / 0.5734 GB, free: 5.574 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003842/0.7081, allocations: 35.92 kB / 0.5734 GB, free: 5.539 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.002015/0.7101, allocations: 1.194 MB / 0.5746 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.7104, allocations: 59.91 kB / 0.5746 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7104, allocations: 8.062 kB / 0.5747 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.7106, allocations: 31.92 kB / 0.5747 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.711, allocations: 23.42 kB / 0.5747 GB, free: 4.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.7129, allocations: 0.917 MB / 0.5756 GB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.7133, allocations: 0.7121 MB / 0.5763 GB, free: 2.602 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.7135, allocations: 39.53 kB / 0.5763 GB, free: 2.562 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7135, allocations: 3.938 kB / 0.5763 GB, free: 2.559 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.695/3.409, allocations: 2.522 MB / 0.5788 GB, free: 44 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat