Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",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.002536/0.002541, allocations: 183.2 kB / 16.4 MB, free: 5.75 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.151/2.151, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001243/0.001243, allocations: 101.4 kB / 270.9 MB, free: 8.363 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.5413/0.5413, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005047/0.000505, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1359, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002877/0.1388, allocations: 1.46 MB / 491.8 MB, free: 9.656 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.141, allocations: 0.8084 MB / 492.6 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.1412, allocations: 4 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007016/0.1419, allocations: 287.4 kB / 492.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.1425, allocations: 195.5 kB / 493.1 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006359/0.1432, allocations: 119.7 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.1437, allocations: 159.7 kB / 493.3 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.135e-05/0.1438, allocations: 17.53 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.144, allocations: 119.6 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.1444, allocations: 143.6 kB / 493.6 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.1444, allocations: 8 kB / 493.6 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.1446, allocations: 27.98 kB / 493.6 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1448, allocations: 135.6 kB / 493.8 MB, free: 7.641 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.145, allocations: 77.45 kB / 493.9 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004957/0.1455, allocations: 271.8 kB / 494.1 MB, free: 7.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1455, allocations: 4 kB / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1455, allocations: 0 / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1455, allocations: 0 / 494.1 MB, free: 7.289 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001388/0.1469, allocations: 0.6761 MB / 494.8 MB, free: 6.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.147, allocations: 12.03 kB / 494.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.955e-05/0.1471, allocations: 38.55 kB / 494.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.1472, allocations: 47.34 kB / 494.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009726/0.1482, allocations: 419.1 kB / 495.3 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.1483, allocations: 3.938 kB / 495.3 MB, free: 6.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1483, allocations: 7.984 kB / 495.3 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.1486, allocations: 83.31 kB / 495.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1486, allocations: 4 kB / 495.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.1487, allocations: 3.953 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1487, allocations: 4 kB / 495.4 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.1489, allocations: 31.97 kB / 495.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006517/0.1495, allocations: 378.3 kB / 495.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004678/0.15, allocations: 109.3 kB / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1501, allocations: 0 / 495.9 MB, free: 5.316 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003712/0.1505, allocations: 113 kB / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/0.1505, allocations: 0 / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007946/0.1513, allocations: 197 kB / 496.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.1514, allocations: 81.06 kB / 496.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.1533, allocations: 1.038 MB / 497.3 MB, free: 3.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.1534, allocations: 29.7 kB / 497.4 MB, free: 3.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1536, allocations: 250.5 kB / 497.6 MB, free: 3.559 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.1537, allocations: 23.66 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.1537, allocations: 4 kB / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1538, allocations: 314.8 kB / 497.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.154, allocations: 31.98 kB / 498 MB, free: 3.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1542, allocations: 55.42 kB / 498 MB, free: 3.117 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.1544, allocations: 36.42 kB / 498.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1544, allocations: 0 / 498.1 MB, free: 3.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004377/0.1548, allocations: 121.6 kB / 498.2 MB, free: 2.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.1549, allocations: 8 kB / 498.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1549, allocations: 0 / 498.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.1549, allocations: 3.984 kB / 498.2 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.1551, allocations: 23.94 kB / 498.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1552, allocations: 3.953 kB / 498.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1554, allocations: 19.89 kB / 498.2 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.1554, allocations: 4 kB / 498.2 MB, free: 2.895 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0003706/0.1558, allocations: 233.6 kB / 498.5 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1559, allocations: 51.34 kB / 498.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.1561, allocations: 63.98 kB / 498.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1561, allocations: 0 / 498.6 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1561, allocations: 3.938 kB / 498.6 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1561, allocations: 3.953 kB / 498.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.1566, allocations: 341.4 kB / 498.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1566, allocations: 0 / 498.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.18e-05/0.1567, allocations: 11.94 kB / 498.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.1567, allocations: 0 / 498.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1567, allocations: 8 kB / 498.9 MB, free: 2.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.1568, allocations: 3.984 kB / 499 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1568, allocations: 0 / 499 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006121/0.1574, allocations: 214.9 kB / 499.2 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.1577, allocations: 140.6 kB / 499.3 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.547e-05/0.1577, allocations: 7.922 kB / 499.3 MB, free: 1.727 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.1579, allocations: 8 kB / 499.3 MB, free: 1.719 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.158, allocations: 15.94 kB / 499.3 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.1581, allocations: 4 kB / 499.3 MB, free: 1.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001365/0.1595, allocations: 0.7721 MB / 0.4884 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.1595, allocations: 0 / 0.4884 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004785/0.16, allocations: 44 kB / 0.4884 GB, free: 0.8867 MB / 378.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.3112/0.4712, allocations: 1.12 MB / 0.4895 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.4717, allocations: 81.08 kB / 0.4896 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.4718, allocations: 0 / 0.4896 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.4719, allocations: 42.48 kB / 0.4896 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006389/0.4726, allocations: 67.27 kB / 0.4897 GB, free: 43.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007564/0.4802, allocations: 3.312 MB / 0.4929 GB, free: 42.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.4808, allocations: 0.8489 MB / 0.4938 GB, free: 41.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003966/0.4812, allocations: 145.7 kB / 0.4939 GB, free: 41.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.4812, allocations: 0.75 kB / 0.4939 GB, free: 41.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.875/3.356, allocations: 7.783 MB / 0.5015 GB, free: 40.46 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat does not exist to compare? outputFormat=mat