Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3",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.001614/0.001619, allocations: 184.4 kB / 16.4 MB, free: 5.746 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.128/2.128, 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.0012/0.0012, allocations: 104.8 kB / 270.9 MB, free: 8.355 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.5378/0.5378, allocations: 43.55 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004856, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.002535/0.1392, allocations: 1.259 MB / 491.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.1401, allocations: 283.8 kB / 491.8 MB, free: 9.586 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.1402, allocations: 3.938 kB / 491.8 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.1405, allocations: 67.78 kB / 491.9 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002031/0.1407, allocations: 51.86 kB / 492 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003243/0.1411, allocations: 59.88 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001632/0.1413, allocations: 51.86 kB / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.1414, allocations: 7.984 kB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.135e-05/0.1414, allocations: 23.92 kB / 492.1 MB, free: 9.324 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1416, allocations: 35.89 kB / 492.1 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1416, allocations: 4 kB / 492.1 MB, free: 9.285 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.554e-05/0.1417, allocations: 19.94 kB / 492.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.1418, allocations: 11.98 kB / 492.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.1418, allocations: 37.64 kB / 492.2 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.142, allocations: 64.11 kB / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.142, allocations: 0 / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.142, allocations: 0 / 492.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.142, allocations: 0 / 492.3 MB, free: 9.148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005571/0.1426, allocations: 383 kB / 492.6 MB, free: 8.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.1427, allocations: 12.03 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.1427, allocations: 38.5 kB / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.1428, allocations: 15.77 kB / 492.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.143, allocations: 190.8 kB / 492.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1431, allocations: 4 kB / 492.9 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1431, allocations: 4 kB / 492.9 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.1433, allocations: 45.69 kB / 493 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1433, allocations: 0 / 493 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1434, allocations: 0 / 493 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1434, allocations: 3.953 kB / 493 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1435, allocations: 35.97 kB / 493 MB, free: 8.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.144, allocations: 272.9 kB / 493.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.1443, allocations: 42.56 kB / 493.3 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.139e-05/0.1443, allocations: 8 kB / 493.3 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.1444, allocations: 30.56 kB / 493.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.834e-06/0.1444, allocations: 0 / 493.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008447/0.1452, allocations: 165.6 kB / 493.5 MB, free: 7.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1453, allocations: 51.41 kB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.1456, allocations: 198.1 kB / 493.7 MB, free: 7.477 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.1456, allocations: 25.7 kB / 493.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.1457, allocations: 162.5 kB / 493.9 MB, free: 7.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1458, allocations: 19.8 kB / 493.9 MB, free: 7.266 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.323e-06/0.1458, allocations: 4 kB / 493.9 MB, free: 7.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.146, allocations: 314.8 kB / 494.3 MB, free: 6.945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1461, allocations: 23.98 kB / 494.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.1462, allocations: 23.92 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.1464, allocations: 27.98 kB / 494.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1464, allocations: 0 / 494.3 MB, free: 6.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003258/0.1467, allocations: 81.86 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.1468, allocations: 7.953 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1468, allocations: 0 / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1468, allocations: 0 / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1469, allocations: 19.98 kB / 494.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.147, allocations: 0 / 494.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1471, allocations: 15.98 kB / 494.5 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.1471, allocations: 0 / 494.5 MB, free: 6.742 MB / 378.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.0001389/0.1473, allocations: 129.8 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.1473, allocations: 7.906 kB / 494.6 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.1477, allocations: 109.8 kB / 494.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1477, allocations: 0 / 494.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1478, allocations: 0 / 494.7 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1478, allocations: 4 kB / 494.7 MB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.1484, allocations: 354.5 kB / 495 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1485, allocations: 0 / 495 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1486, allocations: 15.95 kB / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1486, allocations: 0 / 495.1 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1486, allocations: 7.984 kB / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.1486, allocations: 0 / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1486, allocations: 0 / 495.1 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003551/0.149, allocations: 187.6 kB / 495.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.1491, allocations: 89 kB / 495.3 MB, free: 5.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1491, allocations: 8.016 kB / 495.3 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1492, allocations: 8 kB / 495.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.1493, allocations: 11.92 kB / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.1493, allocations: 0 / 495.4 MB, free: 5.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001879/0.1495, allocations: 151.9 kB / 495.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1495, allocations: 0 / 495.5 MB, free: 5.574 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003449/0.1499, allocations: 19.98 kB / 495.5 MB, free: 5.555 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: 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.001806/0.1517, allocations: 1.007 MB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003459/0.1521, allocations: 55.91 kB / 496.6 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.1521, allocations: 4 kB / 496.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1523, allocations: 27.98 kB / 496.6 MB, free: 4.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1526, allocations: 19.94 kB / 496.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1543, allocations: 0.6772 MB / 497.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1547, allocations: 0.7043 MB / 498 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.1548, allocations: 27.42 kB / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1548, allocations: 0 / 498.1 MB, free: 2.98 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.612/2.767, allocations: 1.952 MB / 0.4883 GB, free: 1.027 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat does not exist to compare? outputFormat=mat