Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65",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.001582/0.001581, allocations: 182.5 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.212/2.212, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001743/0.001743, allocations: 99.17 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.5372/0.5372, allocations: 43.56 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006819/0.0006822, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1393, allocations: 58.86 MB / 490.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002614/0.142, allocations: 1.347 MB / 491.7 MB, free: 9.762 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1438, allocations: 0.7188 MB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.1439, allocations: 4 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003773/0.1443, allocations: 79.75 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1446, allocations: 63.84 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.1449, allocations: 75.78 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.1451, allocations: 59.86 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.46e-05/0.1452, allocations: 7.984 kB / 492.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1453, allocations: 43.83 kB / 492.7 MB, free: 8.707 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.1455, allocations: 47.83 kB / 492.8 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1455, allocations: 4 kB / 492.8 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1456, allocations: 15.98 kB / 492.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.642e-05/0.1457, allocations: 23.91 kB / 492.8 MB, free: 8.617 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.755e-05/0.1458, allocations: 33.7 kB / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.146, allocations: 80.05 kB / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.146, allocations: 0 / 492.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.146, allocations: 4 kB / 492.9 MB, free: 8.496 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.146, allocations: 0 / 492.9 MB, free: 8.496 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006424/0.1467, allocations: 402.8 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.1467, allocations: 8.031 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.1468, allocations: 30.56 kB / 493.4 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.1469, allocations: 15.81 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1472, allocations: 206.9 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1472, allocations: 0 / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1472, allocations: 0 / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.1474, allocations: 49.67 kB / 493.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.1474, allocations: 0 / 493.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1475, allocations: 11.89 kB / 493.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1475, allocations: 0 / 493.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.843e-05/0.1476, allocations: 15.98 kB / 493.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002524/0.1479, allocations: 185.6 kB / 493.8 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.1481, allocations: 54.61 kB / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1481, allocations: 0 / 493.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1484, allocations: 71.42 kB / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.733e-06/0.1484, allocations: 0 / 494 MB, free: 7.293 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004049/0.1488, allocations: 89.58 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1489, allocations: 59.36 kB / 494.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.1492, allocations: 218.3 kB / 494.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.1492, allocations: 25.7 kB / 494.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1493, allocations: 162.6 kB / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.11e-05/0.1494, allocations: 11.81 kB / 494.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.1495, allocations: 4 kB / 494.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1496, allocations: 314.8 kB / 494.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.1497, allocations: 15.98 kB / 494.8 MB, free: 6.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.1498, allocations: 33.64 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.1499, allocations: 16 kB / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1499, allocations: 0 / 494.9 MB, free: 6.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002362/0.1502, allocations: 69.69 kB / 494.9 MB, free: 6.238 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.1502, allocations: 8 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.1502, allocations: 0 / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1502, allocations: 3.938 kB / 495 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1504, allocations: 12.3 kB / 495 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.1504, allocations: 7.953 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-05/0.1505, allocations: 11.84 kB / 495 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.1505, allocations: 4 kB / 495 MB, free: 6.191 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 (7): * Single equations (assignments): 7 * 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.0001473/0.1507, allocations: 137.8 kB / 495.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1507, allocations: 11.94 kB / 495.1 MB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.296e-05/0.1508, allocations: 13 kB / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1508, allocations: 0 / 495.2 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.1508, allocations: 7.984 kB / 495.2 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.1508, allocations: 3.953 kB / 495.2 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.151, allocations: 185.6 kB / 495.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1511, allocations: 0 / 495.3 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.1511, allocations: 4 kB / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1511, allocations: 0 / 495.4 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.1511, allocations: 3.984 kB / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.1512, allocations: 7.938 kB / 495.4 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1512, allocations: 3.938 kB / 495.4 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1514, allocations: 112.9 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.1515, allocations: 85 kB / 495.6 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1516, allocations: 4 kB / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.1516, allocations: 0 / 495.6 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.1517, allocations: 7.984 kB / 495.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.1517, allocations: 4 kB / 495.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1519, allocations: 160.2 kB / 495.7 MB, free: 5.352 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.152, allocations: 0 / 495.7 MB, free: 5.352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.1523, allocations: 12 kB / 495.7 MB, free: 5.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001751/0.154, allocations: 0.9498 MB / 496.7 MB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002533/0.1543, allocations: 47.97 kB / 496.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1543, allocations: 0 / 496.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.708e-05/0.1544, allocations: 19.94 kB / 496.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1548, allocations: 23.97 kB / 496.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1564, allocations: 0.8751 MB / 497.7 MB, free: 3.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1568, allocations: 0.7082 MB / 498.4 MB, free: 2.664 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.766e-05/0.1569, allocations: 35.42 kB / 498.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.157, allocations: 0 / 498.4 MB, free: 2.629 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/2.996, allocations: 2.278 MB / 0.4889 GB, free: 360 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat does not exist to compare? outputFormat=mat