Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53",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.001625/0.001629, allocations: 182.8 kB / 16.4 MB, free: 5.75 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.126/2.126, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001203/0.001203, allocations: 99.31 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5513/0.5513, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000499/0.0004993, allocations: 16 kB / 431.5 MB, free: 6.051 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1364, allocations: 58.85 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002756/0.1392, allocations: 1.386 MB / 491.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1411, allocations: 0.7344 MB / 492.4 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.1412, allocations: 7.938 kB / 492.4 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1415, allocations: 27.84 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1418, allocations: 43.88 kB / 492.5 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003535/0.1421, allocations: 79.78 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1423, allocations: 63.84 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.1424, allocations: 12.22 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1426, allocations: 43.83 kB / 492.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.868e-05/0.1427, allocations: 27.86 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1427, allocations: 0 / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1428, allocations: 27.94 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.1429, allocations: 27.89 kB / 492.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.143, allocations: 37.64 kB / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1432, allocations: 92.09 kB / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1432, allocations: 0 / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1432, allocations: 0 / 492.9 MB, free: 8.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.1432, allocations: 0 / 492.9 MB, free: 8.488 MB / 378.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.0006881/0.1439, allocations: 414.8 kB / 493.3 MB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.144, allocations: 8.031 kB / 493.3 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.144, allocations: 30.56 kB / 493.4 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.1441, allocations: 15.81 kB / 493.4 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.1444, allocations: 214.8 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.1445, allocations: 0 / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1445, allocations: 4 kB / 493.6 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1447, allocations: 53.67 kB / 493.6 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1447, allocations: 4 kB / 493.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1448, allocations: 3.953 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1448, allocations: 0 / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1449, allocations: 19.98 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.1454, allocations: 304.7 kB / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.1456, allocations: 54.69 kB / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1457, allocations: 0 / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.1459, allocations: 67.47 kB / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.1459, allocations: 0 / 494.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007751/0.1467, allocations: 181.2 kB / 494.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.1468, allocations: 55.41 kB / 494.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1471, allocations: 226.5 kB / 494.5 MB, free: 6.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.1471, allocations: 29.7 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.1473, allocations: 166.5 kB / 494.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.1473, allocations: 27.64 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.1473, allocations: 8 kB / 494.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1475, allocations: 310.8 kB / 495.1 MB, free: 6.113 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.1476, allocations: 23.98 kB / 495.1 MB, free: 6.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.1477, allocations: 33.7 kB / 495.1 MB, free: 6.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.1478, allocations: 24 kB / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1478, allocations: 0 / 495.2 MB, free: 6.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002912/0.1481, allocations: 101.5 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.1482, allocations: 11.94 kB / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1482, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1482, allocations: 0 / 495.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.1484, allocations: 12 kB / 495.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1484, allocations: 7.984 kB / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.155e-05/0.1485, allocations: 0 / 495.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.1485, allocations: 8.031 kB / 495.3 MB, free: 5.883 MB / 378.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.0001589/0.1487, allocations: 133.8 kB / 495.4 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.1487, allocations: 19.77 kB / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.1488, allocations: 13.41 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.1488, allocations: 0 / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.1488, allocations: 4 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1489, allocations: 3.984 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.1495, allocations: 399.3 kB / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.1496, allocations: 0 / 495.9 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.574e-05/0.1496, allocations: 8 kB / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1496, allocations: 0 / 495.9 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1497, allocations: 8 kB / 495.9 MB, free: 5.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.1497, allocations: 3.984 kB / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1497, allocations: 0 / 495.9 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.1501, allocations: 226.1 kB / 496.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.462e-05/0.1502, allocations: 85.02 kB / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.1502, allocations: 0 / 496.2 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1503, allocations: 11.98 kB / 496.2 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.1504, allocations: 4 kB / 496.2 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.1504, allocations: 4.188 kB / 496.2 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.1507, allocations: 172.3 kB / 496.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1507, allocations: 7.938 kB / 496.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.151, allocations: 20 kB / 496.4 MB, free: 4.668 MB / 378.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.002042/0.1531, allocations: 1.186 MB / 497.6 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.1534, allocations: 55.97 kB / 497.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1534, allocations: 0 / 497.6 MB, free: 3.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.1536, allocations: 31.92 kB / 497.7 MB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.154, allocations: 31.72 kB / 497.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.1559, allocations: 0.9491 MB / 498.6 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.1563, allocations: 0.7199 MB / 499.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.1564, allocations: 39.42 kB / 499.4 MB, free: 1.598 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1564, allocations: 4 kB / 499.4 MB, free: 1.594 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.922/3.079, allocations: 2.56 MB / 0.4902 GB, free: 42.13 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat