Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17",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.001488/0.001488, allocations: 186.5 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 1.95/1.95, 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.001137/0.001137, allocations: 104.3 kB / 270.9 MB, free: 8.383 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.5534/0.5534, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006522, allocations: 12 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.129, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5322/0.6612, allocations: 87.72 MB / 0.5645 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.6615, allocations: 71.06 kB / 0.5646 GB, free: 14.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03136/0.6929, allocations: 5.35 MB / 0.5698 GB, free: 9.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.693, allocations: 4 kB / 0.5698 GB, free: 9.484 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.693, allocations: 0 / 0.5698 GB, free: 9.484 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.001048/0.6941, allocations: 425.8 kB / 0.5702 GB, free: 9.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.6942, allocations: 12.03 kB / 0.5702 GB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.6944, allocations: 30.56 kB / 0.5702 GB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.6945, allocations: 11.34 kB / 0.5702 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.695, allocations: 208.2 kB / 0.5704 GB, free: 8.723 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.695, allocations: 8 kB / 0.5705 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.6951, allocations: 3.938 kB / 0.5705 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.6953, allocations: 54.55 kB / 0.5705 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6953, allocations: 4 kB / 0.5705 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.6953, allocations: 3.984 kB / 0.5705 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6954, allocations: 1.031 kB / 0.5705 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.6955, allocations: 23.98 kB / 0.5705 GB, free: 8.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.696, allocations: 296.7 kB / 0.5708 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.6963, allocations: 62.67 kB / 0.5709 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.6963, allocations: 0 / 0.5709 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002062/0.6965, allocations: 71.45 kB / 0.571 GB, free: 8.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.6966, allocations: 4 kB / 0.571 GB, free: 8.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.000817/0.6974, allocations: 165.3 kB / 0.5711 GB, free: 7.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.6975, allocations: 59.34 kB / 0.5712 GB, free: 7.887 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.6978, allocations: 161.3 kB / 0.5713 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.6978, allocations: 29.7 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.759e-05/0.6979, allocations: 166.5 kB / 0.5715 GB, free: 7.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.698, allocations: 23.7 kB / 0.5715 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.698, allocations: 0 / 0.5715 GB, free: 7.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6981, allocations: 310.8 kB / 0.5718 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6982, allocations: 23.98 kB / 0.5719 GB, free: 7.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.6984, allocations: 45.64 kB / 0.5719 GB, free: 7.113 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.6985, allocations: 20 kB / 0.5719 GB, free: 7.094 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6985, allocations: 3.984 kB / 0.5719 GB, free: 7.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003099/0.6988, allocations: 97.61 kB / 0.572 GB, free: 6.988 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.6989, allocations: 4 kB / 0.572 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6989, allocations: 3.984 kB / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.6989, allocations: 0 / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.6991, allocations: 24.02 kB / 0.572 GB, free: 6.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.6991, allocations: 3.953 kB / 0.572 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.003e-05/0.6992, allocations: 8 kB / 0.5721 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.6992, allocations: 0 / 0.5721 GB, free: 6.945 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.0001441/0.6994, allocations: 129.8 kB / 0.5722 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.6994, allocations: 11.91 kB / 0.5722 GB, free: 6.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.6998, allocations: 114.3 kB / 0.5723 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.6998, allocations: 8 kB / 0.5723 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6999, allocations: 0 / 0.5723 GB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6999, allocations: 7.891 kB / 0.5723 GB, free: 6.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007243/0.7006, allocations: 415.3 kB / 0.5727 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7006, allocations: 0 / 0.5727 GB, free: 6.195 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.731e-05/0.7007, allocations: 15.98 kB / 0.5727 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.7007, allocations: 0 / 0.5727 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.7008, allocations: 0 / 0.5727 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/0.7008, allocations: 7.953 kB / 0.5727 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7008, allocations: 4.031 kB / 0.5727 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.7012, allocations: 218 kB / 0.5729 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.7013, allocations: 89 kB / 0.573 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.7013, allocations: 7.953 kB / 0.573 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.7014, allocations: 4.375 kB / 0.573 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.7015, allocations: 11.98 kB / 0.5731 GB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.7015, allocations: 8 kB / 0.5731 GB, free: 5.793 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002188/0.7018, allocations: 134 kB / 0.5732 GB, free: 5.664 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7018, allocations: 0 / 0.5732 GB, free: 5.664 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.7021, allocations: 28 kB / 0.5732 GB, free: 5.637 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.002053/0.7042, allocations: 1.197 MB / 0.5744 GB, free: 4.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003099/0.7045, allocations: 67.91 kB / 0.5744 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7046, allocations: 0 / 0.5744 GB, free: 4.445 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.7047, allocations: 28 kB / 0.5745 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.7051, allocations: 25.19 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.001763/0.7069, allocations: 0.8709 MB / 0.5754 GB, free: 3.461 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.7073, allocations: 0.7119 MB / 0.576 GB, free: 2.723 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.7074, allocations: 35.36 kB / 0.5761 GB, free: 2.688 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7074, allocations: 0 / 0.5761 GB, free: 2.688 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.771/3.478, allocations: 2.392 MB / 0.5784 GB, free: 308 kB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat does not exist to compare? outputFormat=mat