Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",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.002523/0.002522, allocations: 187.2 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.215/2.215, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001123/0.001123, allocations: 94.91 kB / 270.9 MB, free: 13.28 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.2989/0.2989, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005454/0.0005456, allocations: 12 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1264, allocations: 58.85 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002846/0.1293, allocations: 1.457 MB / 491.8 MB, free: 7.77 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.1314, allocations: 0.8084 MB / 492.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.1316, allocations: 8 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.1323, allocations: 283.4 kB / 492.9 MB, free: 6.668 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.1328, allocations: 187.5 kB / 493 MB, free: 6.484 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.1334, allocations: 127.7 kB / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.1338, allocations: 163.7 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.039e-05/0.1339, allocations: 9.562 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.1341, allocations: 111.6 kB / 493.5 MB, free: 6.082 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.1344, allocations: 147.6 kB / 493.6 MB, free: 5.938 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.1345, allocations: 8 kB / 493.6 MB, free: 5.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.1346, allocations: 24 kB / 493.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.1348, allocations: 135.6 kB / 493.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.1349, allocations: 77.45 kB / 493.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.1354, allocations: 283.7 kB / 494.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.1354, allocations: 0 / 494.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1354, allocations: 0 / 494.1 MB, free: 5.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1354, allocations: 0 / 494.1 MB, free: 5.414 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.001256/0.1367, allocations: 0.6726 MB / 494.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1368, allocations: 8.031 kB / 494.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.388e-05/0.1368, allocations: 30.56 kB / 494.8 MB, free: 4.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.137, allocations: 55.33 kB / 494.9 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.1378, allocations: 427 kB / 495.3 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1379, allocations: 12 kB / 495.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.1379, allocations: 0 / 495.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002779/0.1382, allocations: 91.28 kB / 495.4 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1382, allocations: 4 kB / 495.4 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.1383, allocations: 4 kB / 495.4 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.1383, allocations: 0 / 495.4 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.1385, allocations: 35.92 kB / 495.4 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.1391, allocations: 378.4 kB / 495.8 MB, free: 3.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.1395, allocations: 101.3 kB / 495.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.1395, allocations: 4 kB / 495.9 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.1399, allocations: 105.1 kB / 496 MB, free: 3.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.505e-06/0.1399, allocations: 0 / 496 MB, free: 3.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007509/0.1407, allocations: 200.9 kB / 496.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.1408, allocations: 81.09 kB / 496.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.1426, allocations: 1.038 MB / 497.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.1427, allocations: 29.7 kB / 497.4 MB, free: 1.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.143, allocations: 246.6 kB / 497.6 MB, free: 1.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.143, allocations: 31.62 kB / 497.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.1431, allocations: 0 / 497.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1432, allocations: 318.8 kB / 497.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1434, allocations: 27.98 kB / 498 MB, free: 1.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.1436, allocations: 63.41 kB / 498 MB, free: 1.234 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.1437, allocations: 31.94 kB / 498.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1437, allocations: 0 / 498.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004495/0.1442, allocations: 129.5 kB / 498.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1442, allocations: 4 kB / 498.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1443, allocations: 0 / 498.2 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1443, allocations: 4 kB / 498.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1445, allocations: 24.55 kB / 498.2 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1445, allocations: 4 kB / 498.2 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.1447, allocations: 11.95 kB / 498.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1448, allocations: 4 kB / 498.2 MB, free: 1.02 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.0003799/0.1452, allocations: 233.6 kB / 498.5 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.1453, allocations: 51.28 kB / 498.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.1454, allocations: 71.94 kB / 498.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1454, allocations: 0 / 498.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1454, allocations: 4 kB / 498.6 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.1455, allocations: 3.984 kB / 498.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/0.1459, allocations: 337.4 kB / 498.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1459, allocations: 0 / 498.9 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-05/0.146, allocations: 11.92 kB / 498.9 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.146, allocations: 4 kB / 498.9 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.1461, allocations: 4 kB / 498.9 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.1461, allocations: 0 / 498.9 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1461, allocations: 4 kB / 498.9 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.1467, allocations: 210.9 kB / 499.2 MB, free: 12 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002426/0.1469, allocations: 144.4 kB / 499.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.147, allocations: 4 kB / 499.3 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1472, allocations: 15.98 kB / 499.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.1472, allocations: 4 kB / 499.3 MB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.1473, allocations: 7.984 kB / 499.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.1486, allocations: 0.7721 MB / 0.4884 GB, free: 15.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1486, allocations: 0 / 0.4884 GB, free: 15.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004466/0.1491, allocations: 40 kB / 0.4884 GB, free: 15.01 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.002091/0.1512, allocations: 1.141 MB / 0.4895 GB, free: 13.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.1517, allocations: 75.91 kB / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1517, allocations: 0 / 0.4896 GB, free: 13.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.1519, allocations: 44.05 kB / 0.4896 GB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.1525, allocations: 65.97 kB / 0.4897 GB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006796/0.1593, allocations: 3.306 MB / 0.4929 GB, free: 10.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.16, allocations: 0.8507 MB / 0.4938 GB, free: 9.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003433/0.1604, allocations: 151.4 kB / 0.4939 GB, free: 9.305 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1604, allocations: 3.938 kB / 0.4939 GB, free: 9.301 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.911/3.071, allocations: 7.769 MB / 0.5015 GB, free: 1.516 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat