Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",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.001671/0.001669, allocations: 187 kB / 16.4 MB, free: 5.625 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.165/2.165, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001854/0.001854, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2942/0.2942, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004804, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1313, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002861/0.1342, allocations: 1.457 MB / 491.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.1364, allocations: 0.8006 MB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1366, allocations: 0 / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006747/0.1373, allocations: 279.4 kB / 492.9 MB, free: 6.68 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.1378, allocations: 195.5 kB / 493 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.1384, allocations: 131.6 kB / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003913/0.1388, allocations: 155.7 kB / 493.3 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.1389, allocations: 13.55 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.1391, allocations: 115.6 kB / 493.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002938/0.1395, allocations: 135.7 kB / 493.6 MB, free: 5.949 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.1395, allocations: 4 kB / 493.6 MB, free: 5.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.1397, allocations: 27.98 kB / 493.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.1399, allocations: 139.6 kB / 493.8 MB, free: 5.781 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.14, allocations: 73.45 kB / 493.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.1405, allocations: 271.8 kB / 494.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1405, allocations: 0 / 494.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1406, allocations: 0 / 494.1 MB, free: 5.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1406, allocations: 0 / 494.1 MB, free: 5.438 MB / 330.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.00127/0.1418, allocations: 0.6571 MB / 494.7 MB, free: 4.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.1419, allocations: 12.03 kB / 494.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.219e-05/0.142, allocations: 42.55 kB / 494.8 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1421, allocations: 51.3 kB / 494.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.143, allocations: 415.1 kB / 495.3 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.1431, allocations: 0 / 495.3 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.1431, allocations: 7.984 kB / 495.3 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.1434, allocations: 83.36 kB / 495.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1434, allocations: 3.938 kB / 495.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1435, allocations: 0 / 495.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1435, allocations: 8 kB / 495.4 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1437, allocations: 35.92 kB / 495.4 MB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.1443, allocations: 374.3 kB / 495.8 MB, free: 3.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.1448, allocations: 105.3 kB / 495.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1448, allocations: 4 kB / 495.9 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000351/0.1452, allocations: 105.1 kB / 496 MB, free: 3.359 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.975e-06/0.1452, allocations: 0 / 496 MB, free: 3.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.000794/0.146, allocations: 200.9 kB / 496.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.1461, allocations: 81.11 kB / 496.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.148, allocations: 1.01 MB / 497.3 MB, free: 2.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.1481, allocations: 29.7 kB / 497.3 MB, free: 2.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.1483, allocations: 242.6 kB / 497.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.1484, allocations: 31.64 kB / 497.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-06/0.1484, allocations: 0 / 497.5 MB, free: 1.734 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1486, allocations: 314.8 kB / 497.9 MB, free: 1.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.1488, allocations: 27.98 kB / 497.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.1489, allocations: 59.41 kB / 497.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1491, allocations: 36.48 kB / 498 MB, free: 1.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1491, allocations: 0 / 498 MB, free: 1.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004566/0.1496, allocations: 125.5 kB / 498.1 MB, free: 1.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1496, allocations: 4.062 kB / 498.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1496, allocations: 8 kB / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.1497, allocations: 0 / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.1499, allocations: 19.98 kB / 498.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.1499, allocations: 4 kB / 498.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.1501, allocations: 15.94 kB / 498.2 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.1502, allocations: 7.938 kB / 498.2 MB, free: 1.098 MB / 330.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.0003904/0.1506, allocations: 225.6 kB / 498.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1507, allocations: 51.33 kB / 498.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.1508, allocations: 63.84 kB / 498.5 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.1509, allocations: 4 kB / 498.5 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.1509, allocations: 0 / 498.5 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1509, allocations: 3.984 kB / 498.5 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.1514, allocations: 337.4 kB / 498.8 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1514, allocations: 0 / 498.8 MB, free: 372 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.1515, allocations: 4 kB / 498.8 MB, free: 368 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.1515, allocations: 4 kB / 498.8 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.1515, allocations: 7.984 kB / 498.8 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1515, allocations: 0 / 498.8 MB, free: 356 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.1516, allocations: 11.94 kB / 498.9 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006998/0.1523, allocations: 203 kB / 499.1 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003117/0.1526, allocations: 148.6 kB / 499.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.1527, allocations: 3.938 kB / 499.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1529, allocations: 8 kB / 499.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.1529, allocations: 11.98 kB / 499.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.153, allocations: 4.219 kB / 499.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00137/0.1544, allocations: 0.764 MB / 500 MB, free: 15.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.1544, allocations: 0 / 500 MB, free: 15.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004765/0.1549, allocations: 40 kB / 0.4883 GB, free: 15.12 MB / 346.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.002212/0.1571, allocations: 1.118 MB / 0.4894 GB, free: 14.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004732/0.1576, allocations: 79.84 kB / 0.4895 GB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1577, allocations: 0 / 0.4895 GB, free: 13.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.1579, allocations: 39.92 kB / 0.4895 GB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006375/0.1585, allocations: 66.84 kB / 0.4896 GB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/0.1656, allocations: 3.226 MB / 0.4927 GB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.1663, allocations: 0.8468 MB / 0.4936 GB, free: 9.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.1667, allocations: 147.3 kB / 0.4937 GB, free: 9.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.512e-06/0.1667, allocations: 0 / 0.4937 GB, free: 9.523 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.769/2.936, allocations: 7.597 MB / 0.5011 GB, free: 1.918 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat does not exist to compare? outputFormat=mat