Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.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.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",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.001604/0.001607, allocations: 188.2 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.255/2.255, 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.00119/0.00119, allocations: 90.8 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.3466/0.3466, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004781, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1431, allocations: 58.86 MB / 490.3 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002464/0.1457, allocations: 1.256 MB / 491.6 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.1465, allocations: 287.8 kB / 491.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.1466, allocations: 0 / 491.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1469, allocations: 23.84 kB / 491.9 MB, free: 7.66 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.1471, allocations: 23.97 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1474, allocations: 59.8 kB / 492 MB, free: 7.578 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1476, allocations: 39.84 kB / 492 MB, free: 7.539 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1477, allocations: 11.98 kB / 492 MB, free: 7.527 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.755e-05/0.1478, allocations: 19.92 kB / 492 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.1479, allocations: 19.92 kB / 492.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1479, allocations: 0 / 492.1 MB, free: 7.488 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.973e-05/0.148, allocations: 12 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.1481, allocations: 23.91 kB / 492.1 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.1481, allocations: 29.64 kB / 492.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1483, allocations: 60.12 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.125e-06/0.1483, allocations: 0 / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1483, allocations: 0 / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1483, allocations: 4 kB / 492.2 MB, free: 7.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005984/0.1489, allocations: 379.1 kB / 492.6 MB, free: 6.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.149, allocations: 8.031 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.1491, allocations: 34.55 kB / 492.6 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.1491, allocations: 11.86 kB / 492.6 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.1494, allocations: 179 kB / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.1494, allocations: 0 / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1494, allocations: 7.938 kB / 492.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1496, allocations: 57.67 kB / 492.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1497, allocations: 0 / 492.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1497, allocations: 0 / 492.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1497, allocations: 3.953 kB / 492.8 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.1499, allocations: 23.98 kB / 492.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.1503, allocations: 272.9 kB / 493.1 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.1506, allocations: 50.5 kB / 493.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1507, allocations: 0 / 493.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1507, allocations: 30.56 kB / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.1507, allocations: 0 / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008832/0.1516, allocations: 165.3 kB / 493.4 MB, free: 5.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.111e-05/0.1517, allocations: 59.34 kB / 493.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1519, allocations: 165.7 kB / 493.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.152, allocations: 25.7 kB / 493.6 MB, free: 5.707 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1521, allocations: 166.6 kB / 493.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.1521, allocations: 15.73 kB / 493.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.1521, allocations: 0 / 493.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1523, allocations: 314.8 kB / 494.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.1524, allocations: 19.98 kB / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1526, allocations: 23.98 kB / 494.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1527, allocations: 23.98 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1527, allocations: 0 / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003214/0.153, allocations: 89.56 kB / 494.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.1531, allocations: 14.59 kB / 494.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1531, allocations: 0 / 494.3 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.1531, allocations: 4 kB / 494.3 MB, free: 5.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1533, allocations: 11.98 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1533, allocations: 4 kB / 494.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.1534, allocations: 4 kB / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1534, allocations: 256 / 494.3 MB, free: 5.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001322/0.1535, allocations: 129.8 kB / 494.4 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.1536, allocations: 11.86 kB / 494.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003791/0.154, allocations: 101.9 kB / 494.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.154, allocations: 4 kB / 494.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.154, allocations: 0 / 494.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.154, allocations: 288 / 494.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006457/0.1547, allocations: 358.4 kB / 494.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.1547, allocations: 0 / 494.9 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1548, allocations: 15.94 kB / 494.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1549, allocations: 0 / 494.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1549, allocations: 7.984 kB / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1549, allocations: 4 kB / 494.9 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1549, allocations: 3.984 kB / 494.9 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003716/0.1553, allocations: 179.4 kB / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.1554, allocations: 88.97 kB / 495.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1554, allocations: 7.984 kB / 495.2 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1555, allocations: 7.938 kB / 495.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.1556, allocations: 4 kB / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1556, allocations: 0 / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1558, allocations: 138.7 kB / 495.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1558, allocations: 0 / 495.3 MB, free: 3.875 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.1561, allocations: 8 kB / 495.3 MB, free: 3.867 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001751/0.1579, allocations: 1.013 MB / 496.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1583, allocations: 55.97 kB / 496.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1583, allocations: 0 / 496.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.1584, allocations: 31.92 kB / 496.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.1588, allocations: 11.92 kB / 496.5 MB, free: 2.781 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.1604, allocations: 0.6296 MB / 497.1 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.1608, allocations: 0.7005 MB / 497.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.1609, allocations: 27.42 kB / 497.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.173e-06/0.1609, allocations: 0 / 497.8 MB, free: 1.34 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.75/2.911, allocations: 1.834 MB / 499.6 MB, free: 15.51 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat does not exist to compare? outputFormat=mat