Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",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.001592/0.001593, allocations: 189.5 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.166/2.166, 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.001216/0.001216, allocations: 98.84 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.3172/0.3172, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004817/0.0004819, allocations: 12 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1345, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003099/0.1376, allocations: 1.512 MB / 491.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.1399, allocations: 0.8124 MB / 492.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1401, allocations: 7.938 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/0.1407, allocations: 143.6 kB / 492.8 MB, free: 6.746 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.1411, allocations: 115.8 kB / 492.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.1418, allocations: 135.6 kB / 493 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.1422, allocations: 143.7 kB / 493.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.1424, allocations: 9.562 kB / 493.2 MB, free: 6.352 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.1426, allocations: 95.59 kB / 493.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1428, allocations: 91.7 kB / 493.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1429, allocations: 8 kB / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1431, allocations: 31.88 kB / 493.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.984e-05/0.1432, allocations: 43.88 kB / 493.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.241e-05/0.1433, allocations: 53.58 kB / 493.5 MB, free: 6.027 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.1436, allocations: 136 kB / 493.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1436, allocations: 0 / 493.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.909e-06/0.1436, allocations: 4 kB / 493.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1436, allocations: 0 / 493.6 MB, free: 5.891 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009476/0.1446, allocations: 498.1 kB / 494.1 MB, free: 5.355 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.1447, allocations: 8.031 kB / 494.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.332e-05/0.1447, allocations: 38.56 kB / 494.2 MB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.1448, allocations: 23.67 kB / 494.2 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.1453, allocations: 250.6 kB / 494.4 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.1454, allocations: 8 kB / 494.5 MB, free: 4.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.1454, allocations: 15.84 kB / 494.5 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1458, allocations: 95.36 kB / 494.6 MB, free: 4.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1458, allocations: 4 kB / 494.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.1458, allocations: 0 / 494.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1458, allocations: 11.88 kB / 494.6 MB, free: 4.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.146, allocations: 31.98 kB / 494.6 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.1469, allocations: 440.9 kB / 495 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004648/0.1474, allocations: 125.3 kB / 495.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.1474, allocations: 3.984 kB / 495.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003724/0.1478, allocations: 113.2 kB / 495.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 3.366e-06/0.1478, allocations: 3.938 kB / 495.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001438/0.1493, allocations: 352 kB / 495.6 MB, free: 3.703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.1494, allocations: 77.11 kB / 495.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006259/0.1501, allocations: 355 kB / 496 MB, free: 3.254 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.1501, allocations: 29.7 kB / 496.1 MB, free: 3.219 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1503, allocations: 194.8 kB / 496.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.1504, allocations: 47.34 kB / 496.3 MB, free: 2.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.1504, allocations: 8 kB / 496.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.1506, allocations: 318.8 kB / 496.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.1508, allocations: 35.98 kB / 496.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.151, allocations: 78.97 kB / 496.7 MB, free: 2.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.1513, allocations: 48 kB / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.1513, allocations: 0 / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000545/0.1518, allocations: 157.5 kB / 496.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1519, allocations: 8 kB / 496.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.1519, allocations: 0 / 496.9 MB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.1519, allocations: 7.938 kB / 497 MB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1522, allocations: 31.97 kB / 497 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1522, allocations: 4 kB / 497 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.1524, allocations: 12.06 kB / 497 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1524, allocations: 4 kB / 497 MB, free: 2.258 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002448/0.1527, allocations: 161.7 kB / 497.2 MB, free: 2.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.1528, allocations: 23.72 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1529, allocations: 34.05 kB / 497.2 MB, free: 2.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1529, allocations: 4 kB / 497.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.1529, allocations: 0.75 kB / 497.2 MB, free: 2.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1529, allocations: 3.938 kB / 497.2 MB, free: 2.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.1542, allocations: 0.6124 MB / 497.8 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.1542, allocations: 4 kB / 497.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1543, allocations: 19.98 kB / 497.9 MB, free: 1.324 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.1544, allocations: 4 kB / 497.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.1544, allocations: 4 kB / 497.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1544, allocations: 0 / 497.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.1544, allocations: 3.938 kB / 497.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.1552, allocations: 401.3 kB / 498.3 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.1553, allocations: 112.8 kB / 498.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.1554, allocations: 7.938 kB / 498.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1556, allocations: 11.98 kB / 498.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.536e-05/0.1557, allocations: 7.984 kB / 498.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.875e-05/0.1558, allocations: 12 kB / 498.4 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000437/0.1562, allocations: 257.9 kB / 498.7 MB, free: 472 kB / 330.7 MB Notification: Performance of sort global known variables: time 2.535e-06/0.1562, allocations: 4 kB / 498.7 MB, free: 468 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005259/0.1568, allocations: 47.92 kB / 498.7 MB, free: 420 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.002578/0.1594, allocations: 1.495 MB / 0.4885 GB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005716/0.16, allocations: 119.9 kB / 0.4886 GB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.16, allocations: 0 / 0.4886 GB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.1603, allocations: 59.91 kB / 0.4887 GB, free: 14.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.1609, allocations: 40.86 kB / 0.4887 GB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.1646, allocations: 1.777 MB / 0.4904 GB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004851/0.1651, allocations: 0.7635 MB / 0.4912 GB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.1654, allocations: 71.41 kB / 0.4913 GB, free: 11.99 MB / 346.7 MB Notification: Performance of SimCode: time 1.774e-06/0.1654, allocations: 0 / 0.4913 GB, free: 11.99 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.927/3.092, allocations: 4.128 MB / 0.4953 GB, free: 7.867 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat does not exist to compare? outputFormat=mat