Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11",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.001599/0.001599, allocations: 188.3 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.07/2.07, 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.001553/0.001553, allocations: 102.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.2977/0.2977, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006392/0.0006393, allocations: 8 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.126, allocations: 58.87 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002543/0.1286, allocations: 1.252 MB / 491.6 MB, free: 7.969 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.1295, allocations: 283.8 kB / 491.9 MB, free: 7.688 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.1296, allocations: 4 kB / 491.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002152/0.1299, allocations: 15.86 kB / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000197/0.1301, allocations: 23.97 kB / 491.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1305, allocations: 63.8 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.1306, allocations: 39.89 kB / 492 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1308, allocations: 7.984 kB / 492 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.1308, allocations: 19.94 kB / 492 MB, free: 7.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.861e-05/0.1309, allocations: 15.92 kB / 492 MB, free: 7.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1309, allocations: 3.984 kB / 492 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1311, allocations: 19.94 kB / 492.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.893e-05/0.1311, allocations: 7.984 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.149e-05/0.1312, allocations: 37.64 kB / 492.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1314, allocations: 60.12 kB / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1314, allocations: 0 / 492.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1314, allocations: 3.938 kB / 492.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1314, allocations: 0 / 492.2 MB, free: 7.363 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.0005632/0.132, allocations: 375.1 kB / 492.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.132, allocations: 8.031 kB / 492.5 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.1321, allocations: 42.55 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.1322, allocations: 11.86 kB / 492.6 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.1325, allocations: 183 kB / 492.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1325, allocations: 3.938 kB / 492.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1325, allocations: 4 kB / 492.8 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.1327, allocations: 49.67 kB / 492.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1328, allocations: 4 kB / 492.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1328, allocations: 0 / 492.8 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1328, allocations: 3.953 kB / 492.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1329, allocations: 23.98 kB / 492.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.1334, allocations: 276.9 kB / 493.1 MB, free: 6.246 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.1337, allocations: 46.5 kB / 493.2 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1337, allocations: 4 kB / 493.2 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1338, allocations: 30.56 kB / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.1338, allocations: 0 / 493.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008863/0.1347, allocations: 161.3 kB / 493.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.1348, allocations: 55.41 kB / 493.4 MB, free: 5.918 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.135, allocations: 173.7 kB / 493.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.135, allocations: 29.7 kB / 493.6 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.389e-05/0.1351, allocations: 154.6 kB / 493.8 MB, free: 5.551 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.1352, allocations: 23.73 kB / 493.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.1352, allocations: 0 / 493.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1353, allocations: 310.8 kB / 494.1 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.1355, allocations: 23.98 kB / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1356, allocations: 23.98 kB / 494.2 MB, free: 5.168 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1358, allocations: 23.98 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1358, allocations: 0 / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003288/0.1361, allocations: 85.56 kB / 494.3 MB, free: 5.055 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1362, allocations: 8 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1362, allocations: 0 / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1362, allocations: 0 / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1363, allocations: 19.98 kB / 494.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1364, allocations: 0 / 494.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.1364, allocations: 4 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.1365, allocations: 4 kB / 494.3 MB, free: 5.02 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.0001447/0.1366, allocations: 125.8 kB / 494.4 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.1367, allocations: 12.14 kB / 494.4 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003955/0.1371, allocations: 97.91 kB / 494.5 MB, free: 4.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1371, allocations: 7.922 kB / 494.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1371, allocations: 0 / 494.5 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.423e-06/0.1372, allocations: 4 kB / 494.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006576/0.1378, allocations: 358.4 kB / 494.9 MB, free: 4.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1379, allocations: 7.938 kB / 494.9 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.138, allocations: 8 kB / 494.9 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.138, allocations: 4.375 kB / 494.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.138, allocations: 4 kB / 494.9 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.138, allocations: 4 kB / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.138, allocations: 0 / 494.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003859/0.1384, allocations: 183.4 kB / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.914e-05/0.1385, allocations: 92.97 kB / 495.2 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1386, allocations: 4 kB / 495.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1387, allocations: 7.984 kB / 495.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.1387, allocations: 3.938 kB / 495.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1388, allocations: 4 kB / 495.2 MB, free: 4.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.1389, allocations: 130.7 kB / 495.3 MB, free: 3.883 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.295e-06/0.1389, allocations: 4 kB / 495.3 MB, free: 3.879 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003398/0.1393, allocations: 15.94 kB / 495.3 MB, free: 3.863 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.001875/0.1412, allocations: 1.015 MB / 496.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.1416, allocations: 55.97 kB / 496.4 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1416, allocations: 3.938 kB / 496.4 MB, free: 2.816 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.1418, allocations: 23.98 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.0003401/0.1421, allocations: 15.98 kB / 496.5 MB, free: 2.777 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1438, allocations: 0.6296 MB / 497.1 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1442, allocations: 0.6965 MB / 497.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.1443, allocations: 23.42 kB / 497.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1443, allocations: 0 / 497.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.712/2.857, allocations: 1.838 MB / 499.6 MB, free: 15.5 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test11.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat does not exist to compare? outputFormat=mat