Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",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.001639/0.001644, 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.081/2.081, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001215/0.001216, allocations: 95.34 kB / 270.9 MB, free: 8.371 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.536/0.536, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.000491, allocations: 20 kB / 431.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1333, allocations: 58.85 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002652/0.136, allocations: 1.386 MB / 491.7 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1378, allocations: 0.7266 MB / 492.4 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.138, allocations: 7.938 kB / 492.4 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.1383, allocations: 31.84 kB / 492.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1385, allocations: 47.86 kB / 492.5 MB, free: 8.895 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/0.1389, allocations: 79.78 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.1392, allocations: 59.86 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1393, allocations: 12.2 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1394, allocations: 31.86 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.923e-05/0.1395, allocations: 35.84 kB / 492.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.1395, allocations: 4 kB / 492.7 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1397, allocations: 27.92 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.1397, allocations: 19.91 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1398, allocations: 41.64 kB / 492.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.14, allocations: 80.11 kB / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.14, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1401, allocations: 0 / 492.9 MB, free: 8.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1401, allocations: 0 / 492.9 MB, free: 8.504 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.0006854/0.1408, allocations: 414.8 kB / 493.3 MB, free: 8.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1408, allocations: 8.031 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.1409, allocations: 30.56 kB / 493.3 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.1409, allocations: 7.906 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.1413, allocations: 211.5 kB / 493.6 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1413, allocations: 7.938 kB / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.1413, allocations: 0 / 493.6 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1415, allocations: 53.67 kB / 493.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1416, allocations: 0 / 493.6 MB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1416, allocations: 3.953 kB / 493.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1416, allocations: 8 kB / 493.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1417, allocations: 19.98 kB / 493.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.1422, allocations: 281 kB / 493.9 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.1425, allocations: 54.61 kB / 494 MB, free: 7.266 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.1425, allocations: 4 kB / 494 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.1428, allocations: 71.47 kB / 494.1 MB, free: 7.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 4.439e-06/0.1428, allocations: 3.984 kB / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007882/0.1436, allocations: 177.1 kB / 494.2 MB, free: 6.996 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.1437, allocations: 55.39 kB / 494.3 MB, free: 6.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.144, allocations: 196.8 kB / 494.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.1441, allocations: 29.7 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.1442, allocations: 162.6 kB / 494.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.1442, allocations: 27.64 kB / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.1442, allocations: 0 / 494.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1444, allocations: 318.8 kB / 495 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-05/0.1445, allocations: 23.92 kB / 495 MB, free: 6.164 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1446, allocations: 37.7 kB / 495.1 MB, free: 6.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.1447, allocations: 20 kB / 495.1 MB, free: 6.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1448, allocations: 4 kB / 495.1 MB, free: 6.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003/0.1451, allocations: 97.47 kB / 495.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.1451, allocations: 11.94 kB / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1451, allocations: 384 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1451, allocations: 0 / 495.2 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1453, allocations: 16 kB / 495.2 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1453, allocations: 4 kB / 495.2 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.136e-05/0.1454, allocations: 7.984 kB / 495.2 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.1454, allocations: 4 kB / 495.2 MB, free: 5.953 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.0001503/0.1456, allocations: 129.9 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.1456, allocations: 15.86 kB / 495.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.1457, allocations: 17.39 kB / 495.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1457, allocations: 0 / 495.4 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.1458, allocations: 7.938 kB / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1458, allocations: 0 / 495.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006816/0.1465, allocations: 395.2 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1465, allocations: 4.031 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.1466, allocations: 15.92 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.1466, allocations: 4 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1466, allocations: 0 / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1466, allocations: 0 / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1466, allocations: 0 / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.147, allocations: 222.2 kB / 496 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.1471, allocations: 89 kB / 496.1 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.004e-05/0.1472, allocations: 8 kB / 496.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1473, allocations: 0 / 496.1 MB, free: 4.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.1473, allocations: 11.92 kB / 496.1 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.1474, allocations: 4 kB / 496.1 MB, free: 4.934 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.1476, allocations: 156.9 kB / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1476, allocations: 0 / 496.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003854/0.148, allocations: 24.19 kB / 496.3 MB, free: 4.758 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.002024/0.15, allocations: 1.178 MB / 497.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.1504, allocations: 51.92 kB / 497.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1504, allocations: 0 / 497.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.1505, allocations: 35.92 kB / 497.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.151, allocations: 23.58 kB / 497.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1528, allocations: 0.9033 MB / 498.5 MB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.1532, allocations: 0.712 MB / 499.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.1533, allocations: 35.42 kB / 499.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1533, allocations: 0 / 499.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.056/3.21, allocations: 2.468 MB / 0.49 GB, free: 41.64 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat does not exist to compare? outputFormat=mat