Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",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.001778/0.001778, allocations: 187.1 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.243/2.243, 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.001267/0.001266, allocations: 94.81 kB / 270.9 MB, free: 13.29 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.2956/0.2956, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.0006418, allocations: 19.98 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1314, allocations: 58.85 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002714/0.1342, allocations: 1.383 MB / 491.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.1361, allocations: 0.7305 MB / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.1363, allocations: 0 / 492.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003816/0.1366, allocations: 79.75 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.1369, allocations: 63.84 kB / 492.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000391/0.1373, allocations: 83.77 kB / 492.7 MB, free: 6.883 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.1376, allocations: 71.78 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1377, allocations: 12.22 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1378, allocations: 43.83 kB / 492.8 MB, free: 6.758 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.138, allocations: 39.84 kB / 492.8 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.138, allocations: 4 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1381, allocations: 31.92 kB / 492.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.1382, allocations: 23.91 kB / 492.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.1383, allocations: 41.64 kB / 492.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1385, allocations: 88.08 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1385, allocations: 0 / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1386, allocations: 0 / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.321e-06/0.1386, allocations: 0 / 493 MB, free: 6.527 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.0006984/0.1393, allocations: 398.9 kB / 493.4 MB, free: 6.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.1393, allocations: 8.031 kB / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.1394, allocations: 34.55 kB / 493.4 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.275e-05/0.1395, allocations: 23.77 kB / 493.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.1398, allocations: 206.8 kB / 493.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1398, allocations: 0 / 493.7 MB, free: 5.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1399, allocations: 4 kB / 493.7 MB, free: 5.77 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.1401, allocations: 53.67 kB / 493.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1401, allocations: 0 / 493.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.1401, allocations: 0 / 493.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1401, allocations: 0 / 493.7 MB, free: 5.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.1403, allocations: 27.94 kB / 493.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004865/0.1408, allocations: 296.8 kB / 494 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.141, allocations: 54.67 kB / 494.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.1411, allocations: 4.125 kB / 494.1 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002343/0.1413, allocations: 63.39 kB / 494.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.314e-06/0.1413, allocations: 4 kB / 494.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007862/0.1421, allocations: 181.1 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.1422, allocations: 51.41 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003428/0.1426, allocations: 206.4 kB / 494.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.1426, allocations: 29.64 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.852e-05/0.1427, allocations: 166.6 kB / 494.8 MB, free: 4.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.1428, allocations: 27.64 kB / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.1428, allocations: 0 / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1429, allocations: 318.8 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1431, allocations: 23.98 kB / 495.1 MB, free: 4.172 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1432, allocations: 37.64 kB / 495.2 MB, free: 4.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.999e-05/0.1433, allocations: 23.94 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1433, allocations: 0 / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003047/0.1436, allocations: 101.5 kB / 495.3 MB, free: 4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1437, allocations: 7.469 kB / 495.3 MB, free: 3.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1437, allocations: 7.953 kB / 495.3 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.1437, allocations: 4 kB / 495.3 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1439, allocations: 16 kB / 495.3 MB, free: 3.969 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.789e-06/0.1439, allocations: 3.984 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.966e-05/0.144, allocations: 4 kB / 495.3 MB, free: 3.961 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.144, allocations: 0 / 495.3 MB, free: 3.961 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.0001666/0.1442, allocations: 141.4 kB / 495.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1442, allocations: 11.91 kB / 495.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.1443, allocations: 17.41 kB / 495.5 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1443, allocations: 3.953 kB / 495.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1443, allocations: 4 kB / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1444, allocations: 0 / 495.5 MB, free: 3.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006819/0.145, allocations: 395.3 kB / 495.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1451, allocations: 0 / 495.9 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.1451, allocations: 15.94 kB / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1452, allocations: 0 / 495.9 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.1452, allocations: 4.031 kB / 495.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1452, allocations: 4 kB / 495.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1452, allocations: 0 / 495.9 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/0.1456, allocations: 221.8 kB / 496.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.1457, allocations: 93.3 kB / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.1457, allocations: 0 / 496.2 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.1459, allocations: 15.98 kB / 496.2 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.1459, allocations: 4 kB / 496.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.146, allocations: 0 / 496.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00023/0.1462, allocations: 164.2 kB / 496.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1462, allocations: 0 / 496.4 MB, free: 2.777 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.1466, allocations: 28 kB / 496.4 MB, free: 2.75 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.002038/0.1487, allocations: 1.172 MB / 497.6 MB, free: 1.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.1491, allocations: 59.95 kB / 497.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1491, allocations: 0 / 497.7 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.1492, allocations: 27.92 kB / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1496, allocations: 23.98 kB / 497.7 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1516, allocations: 0.9391 MB / 498.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.1521, allocations: 0.7082 MB / 499.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1522, allocations: 35.42 kB / 499.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1522, allocations: 0 / 499.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.808/2.96, allocations: 2.528 MB / 0.4902 GB, free: 13.2 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat