Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15",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.001691/0.001691, allocations: 188.9 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.253/2.253, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001224/0.001224, allocations: 106.7 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.3089/0.3089, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000513/0.0005132, allocations: 8 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1352, allocations: 58.86 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002579/0.1378, allocations: 1.249 MB / 491.6 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008349/0.1387, allocations: 283.8 kB / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.1388, allocations: 0 / 491.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1391, allocations: 67.78 kB / 491.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1394, allocations: 55.91 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.1397, allocations: 67.75 kB / 492 MB, free: 7.504 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.1399, allocations: 47.88 kB / 492.1 MB, free: 7.457 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1401, allocations: 7.984 kB / 492.1 MB, free: 7.449 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.966e-05/0.1401, allocations: 31.91 kB / 492.1 MB, free: 7.418 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1403, allocations: 31.89 kB / 492.2 MB, free: 7.387 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.1403, allocations: 11.94 kB / 492.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1405, allocations: 16 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.1405, allocations: 15.92 kB / 492.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.1406, allocations: 33.64 kB / 492.2 MB, free: 7.305 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.1408, allocations: 68.12 kB / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1408, allocations: 0 / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1408, allocations: 0 / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1408, allocations: 0 / 492.3 MB, free: 7.238 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.0006308/0.1414, allocations: 383 kB / 492.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.1415, allocations: 16.03 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.1416, allocations: 30.56 kB / 492.7 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.1416, allocations: 15.8 kB / 492.7 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.1419, allocations: 190.9 kB / 492.9 MB, free: 6.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1419, allocations: 4 kB / 492.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.142, allocations: 0 / 492.9 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1422, allocations: 49.69 kB / 493 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1422, allocations: 0 / 493 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1422, allocations: 3.984 kB / 493 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1422, allocations: 8 kB / 493 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.1424, allocations: 23.98 kB / 493 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.1429, allocations: 280.8 kB / 493.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1432, allocations: 50.56 kB / 493.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1433, allocations: 0 / 493.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.1433, allocations: 30.56 kB / 493.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.974e-06/0.1433, allocations: 0 / 493.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008863/0.1442, allocations: 165.3 kB / 493.5 MB, free: 5.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1443, allocations: 51.41 kB / 493.6 MB, free: 5.773 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.1446, allocations: 214.1 kB / 493.8 MB, free: 5.555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1447, allocations: 25.7 kB / 493.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.1448, allocations: 166.5 kB / 494 MB, free: 5.359 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.1448, allocations: 19.8 kB / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.1449, allocations: 0 / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.145, allocations: 310.8 kB / 494.3 MB, free: 5.027 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.1452, allocations: 27.92 kB / 494.3 MB, free: 5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1453, allocations: 19.98 kB / 494.3 MB, free: 4.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.1454, allocations: 27.98 kB / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1455, allocations: 0 / 494.4 MB, free: 4.953 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003409/0.1458, allocations: 81.86 kB / 494.4 MB, free: 4.867 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.1459, allocations: 7.984 kB / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1459, allocations: 0 / 494.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.1459, allocations: 7.953 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.1461, allocations: 16 kB / 494.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1461, allocations: 7.938 kB / 494.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.658e-05/0.1462, allocations: 7.984 kB / 494.5 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1462, allocations: 0 / 494.5 MB, free: 4.82 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.0001574/0.1464, allocations: 133.8 kB / 494.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1464, allocations: 7.906 kB / 494.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/0.1468, allocations: 105.9 kB / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.1468, allocations: 0 / 494.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.1469, allocations: 3.953 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1469, allocations: 288 / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.1476, allocations: 366.4 kB / 495.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1476, allocations: 0 / 495.1 MB, free: 4.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.1477, allocations: 12 kB / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1477, allocations: 0 / 495.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1478, allocations: 7.938 kB / 495.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1478, allocations: 0 / 495.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1478, allocations: 0 / 495.1 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.1482, allocations: 187.7 kB / 495.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.1483, allocations: 88.95 kB / 495.4 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1484, allocations: 4 kB / 495.4 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1485, allocations: 23.94 kB / 495.4 MB, free: 3.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1486, allocations: 3.938 kB / 495.4 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.1486, allocations: 4 kB / 495.4 MB, free: 3.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000211/0.1488, allocations: 151.2 kB / 495.6 MB, free: 3.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1488, allocations: 0 / 495.6 MB, free: 3.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.1492, allocations: 19.98 kB / 495.6 MB, free: 3.621 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.001896/0.1511, allocations: 1.004 MB / 496.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004283/0.1516, allocations: 63.91 kB / 496.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1516, allocations: 0 / 496.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.1518, allocations: 27.98 kB / 496.7 MB, free: 2.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1521, allocations: 15.94 kB / 496.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.154, allocations: 0.6958 MB / 497.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.1545, allocations: 0.7043 MB / 498.1 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.1546, allocations: 31.42 kB / 498.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1546, allocations: 0 / 498.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.7/2.855, allocations: 2.007 MB / 0.4884 GB, free: 15.03 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test15.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat does not exist to compare? outputFormat=mat