Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",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.002676/0.002681, allocations: 189.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.271/2.271, 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.001212/0.001211, allocations: 94.86 kB / 270.9 MB, free: 13.37 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.3194/0.3194, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006425/0.0006428, allocations: 20 kB / 431.5 MB, free: 20.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1333, allocations: 58.86 MB / 490.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002785/0.1362, allocations: 1.387 MB / 491.7 MB, free: 7.832 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1381, allocations: 0.7266 MB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1383, allocations: 4 kB / 492.4 MB, free: 7.094 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.1387, allocations: 27.84 kB / 492.5 MB, free: 7.066 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.1389, allocations: 43.88 kB / 492.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.1394, allocations: 79.78 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1396, allocations: 59.86 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.1397, allocations: 8.234 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1398, allocations: 39.83 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.847e-05/0.1399, allocations: 31.84 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1399, allocations: 0 / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.1401, allocations: 27.94 kB / 492.8 MB, free: 6.781 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.398e-05/0.1402, allocations: 15.92 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.1402, allocations: 41.64 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1405, allocations: 84.08 kB / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1405, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1405, allocations: 0 / 492.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1405, allocations: 0 / 492.9 MB, free: 6.637 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.00068/0.1412, allocations: 398.9 kB / 493.3 MB, free: 6.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.1413, allocations: 15.97 kB / 493.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.869e-05/0.1413, allocations: 30.56 kB / 493.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.1414, allocations: 11.86 kB / 493.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1417, allocations: 210.8 kB / 493.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1418, allocations: 0 / 493.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1418, allocations: 4 kB / 493.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.142, allocations: 53.67 kB / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1421, allocations: 4 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1421, allocations: 0 / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1421, allocations: 0 / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.1422, allocations: 23.94 kB / 493.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.1427, allocations: 284.9 kB / 493.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.143, allocations: 70.59 kB / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.143, allocations: 0 / 494 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.1433, allocations: 67.52 kB / 494 MB, free: 5.312 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.1433, allocations: 0 / 494 MB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007993/0.1441, allocations: 173.2 kB / 494.2 MB, free: 5.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.1442, allocations: 51.41 kB / 494.3 MB, free: 5.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002857/0.1445, allocations: 190.1 kB / 494.5 MB, free: 4.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1445, allocations: 33.7 kB / 494.5 MB, free: 4.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1446, allocations: 162.6 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.1447, allocations: 23.66 kB / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.1447, allocations: 0 / 494.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1449, allocations: 318.8 kB / 495 MB, free: 4.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.144e-05/0.145, allocations: 19.94 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1451, allocations: 33.7 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.1452, allocations: 35.97 kB / 495.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1452, allocations: 3.938 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003216/0.1456, allocations: 89.62 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1456, allocations: 7.438 kB / 495.2 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1456, allocations: 3.953 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1457, allocations: 4 kB / 495.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.1458, allocations: 15.98 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1458, allocations: 0 / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.978e-05/0.1459, allocations: 12.03 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.146, allocations: 0 / 495.2 MB, free: 4.105 MB / 330.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.0001613/0.1461, allocations: 130 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1462, allocations: 11.81 kB / 495.3 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.1463, allocations: 20.59 kB / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.1463, allocations: 3.953 kB / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1463, allocations: 7.984 kB / 495.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1463, allocations: 0 / 495.4 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.147, allocations: 391.3 kB / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.147, allocations: 0 / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.1471, allocations: 11.95 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1471, allocations: 0 / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.1472, allocations: 8 kB / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.1472, allocations: 0 / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1472, allocations: 0 / 495.8 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.1475, allocations: 214 kB / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.727e-05/0.1476, allocations: 93.3 kB / 496.1 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.1477, allocations: 4 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.1478, allocations: 7.984 kB / 496.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.1479, allocations: 11.94 kB / 496.1 MB, free: 3.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.1479, allocations: 4 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.1481, allocations: 139.2 kB / 496.2 MB, free: 2.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1481, allocations: 4 kB / 496.2 MB, free: 2.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003801/0.1485, allocations: 24 kB / 496.3 MB, free: 2.922 MB / 330.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 (8): * Single equations (assignments): 6 * 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.002128/0.1506, allocations: 1.178 MB / 497.4 MB, free: 1.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.151, allocations: 51.92 kB / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.151, allocations: 0 / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1512, allocations: 35.92 kB / 497.5 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.1516, allocations: 32.03 kB / 497.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.1534, allocations: 0.8641 MB / 498.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1539, allocations: 0.7083 MB / 499.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.154, allocations: 27.38 kB / 499.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.154, allocations: 4 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.709/2.863, allocations: 2.421 MB / 0.4898 GB, free: 13.55 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat does not exist to compare? outputFormat=mat