Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19",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.002551/0.002551, allocations: 188.9 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.353/2.353, 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.001607/0.001606, allocations: 94.78 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.3012/0.3012, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004731/0.0004732, allocations: 16 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.00265/0.1331, allocations: 1.379 MB / 491.7 MB, free: 7.844 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.135, allocations: 0.7383 MB / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.114e-05/0.1351, allocations: 0 / 492.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.1354, allocations: 27.84 kB / 492.5 MB, free: 7.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1357, allocations: 43.88 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.136, allocations: 79.77 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1362, allocations: 59.86 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1363, allocations: 12.22 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1365, allocations: 35.84 kB / 492.7 MB, free: 6.844 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.1366, allocations: 27.86 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1366, allocations: 0 / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1367, allocations: 27.94 kB / 492.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.1368, allocations: 19.91 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.434e-05/0.1369, allocations: 37.64 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1371, allocations: 84.09 kB / 492.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1371, allocations: 4 kB / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1371, allocations: 0 / 492.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1371, allocations: 0 / 492.9 MB, free: 6.641 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.0006265/0.1377, allocations: 398.9 kB / 493.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.1378, allocations: 8.031 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.493e-05/0.1379, allocations: 30.56 kB / 493.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.1379, allocations: 11.86 kB / 493.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.1383, allocations: 206.9 kB / 493.5 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1383, allocations: 3.938 kB / 493.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1383, allocations: 11.98 kB / 493.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1385, allocations: 57.67 kB / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.1386, allocations: 0 / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1386, allocations: 0 / 493.6 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.1386, allocations: 4 kB / 493.6 MB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1387, allocations: 19.94 kB / 493.6 MB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004607/0.1392, allocations: 280.9 kB / 493.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.1395, allocations: 66.61 kB / 494 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.1395, allocations: 0 / 494 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.1397, allocations: 67.52 kB / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.943e-06/0.1398, allocations: 0 / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007625/0.1405, allocations: 177.1 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.1406, allocations: 55.41 kB / 494.3 MB, free: 5.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.1409, allocations: 190.1 kB / 494.4 MB, free: 4.883 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1409, allocations: 25.7 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.141, allocations: 166.6 kB / 494.6 MB, free: 4.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.875e-05/0.1411, allocations: 27.64 kB / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.1411, allocations: 0 / 494.7 MB, free: 4.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1413, allocations: 318.8 kB / 495 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.33e-05/0.1414, allocations: 23.92 kB / 495 MB, free: 4.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1415, allocations: 37.7 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.1416, allocations: 20 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1416, allocations: 3.938 kB / 495.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002846/0.1419, allocations: 93.62 kB / 495.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1419, allocations: 4 kB / 495.2 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.142, allocations: 3.953 kB / 495.2 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.142, allocations: 7.984 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1421, allocations: 16.03 kB / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1422, allocations: 0 / 495.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.1422, allocations: 4 kB / 495.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1423, allocations: 4 kB / 495.2 MB, free: 4.113 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.0001399/0.1424, allocations: 132.9 kB / 495.3 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.1425, allocations: 11.81 kB / 495.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.1425, allocations: 16.7 kB / 495.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.1426, allocations: 11.89 kB / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1426, allocations: 0 / 495.4 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1426, allocations: 4 kB / 495.4 MB, free: 3.926 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.1432, allocations: 383.4 kB / 495.7 MB, free: 3.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.1433, allocations: 3.938 kB / 495.7 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.1433, allocations: 11.95 kB / 495.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.1434, allocations: 4 kB / 495.8 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.1434, allocations: 4.359 kB / 495.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1434, allocations: 0 / 495.8 MB, free: 3.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1434, allocations: 4 kB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.1438, allocations: 218 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.1438, allocations: 92.92 kB / 496.1 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.608e-05/0.1439, allocations: 7.984 kB / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.144, allocations: 0 / 496.1 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.1441, allocations: 7.938 kB / 496.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.1441, allocations: 15.98 kB / 496.1 MB, free: 3.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001716/0.1443, allocations: 135.2 kB / 496.2 MB, free: 2.953 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1443, allocations: 0 / 496.2 MB, free: 2.953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000371/0.1447, allocations: 27.98 kB / 496.3 MB, free: 2.926 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.00205/0.1467, allocations: 1.177 MB / 497.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1471, allocations: 59.91 kB / 497.5 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1471, allocations: 8.062 kB / 497.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1472, allocations: 27.94 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.0003845/0.1476, allocations: 23.97 kB / 497.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1494, allocations: 0.8641 MB / 498.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.1498, allocations: 0.7083 MB / 499.1 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.1499, allocations: 35.5 kB / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1499, allocations: 0 / 499.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.731/2.881, allocations: 2.416 MB / 0.4898 GB, free: 13.55 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test19.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat does not exist to compare? outputFormat=mat