Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2",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.002165/0.00217, 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.474/2.474, 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.001235/0.001234, allocations: 94.78 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.3132/0.3132, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004747, allocations: 12 kB / 431.5 MB, free: 20.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1325, allocations: 58.86 MB / 490.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002631/0.1352, allocations: 1.306 MB / 491.6 MB, free: 7.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009766/0.1363, allocations: 295.8 kB / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.1364, allocations: 0 / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008171/0.1372, allocations: 439.2 kB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.1378, allocations: 243.4 kB / 492.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.1385, allocations: 139.7 kB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.1388, allocations: 111.8 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1389, allocations: 20.17 kB / 492.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.1391, allocations: 103.7 kB / 492.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002953/0.1394, allocations: 135.8 kB / 493.1 MB, free: 6.473 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1395, allocations: 7.984 kB / 493.1 MB, free: 6.465 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1396, allocations: 31.86 kB / 493.1 MB, free: 6.434 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1398, allocations: 79.75 kB / 493.2 MB, free: 6.355 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.874e-05/0.1399, allocations: 61.52 kB / 493.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.1402, allocations: 187.9 kB / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1402, allocations: 0 / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1402, allocations: 0 / 493.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1403, allocations: 4 kB / 493.4 MB, free: 6.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009829/0.1412, allocations: 0.591 MB / 494 MB, free: 5.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.1413, allocations: 16.03 kB / 494.1 MB, free: 5.445 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.1414, allocations: 34.56 kB / 494.1 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.1415, allocations: 51.39 kB / 494.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.1419, allocations: 267.4 kB / 494.4 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.142, allocations: 4 kB / 494.4 MB, free: 5.047 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.142, allocations: 4 kB / 494.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.1422, allocations: 57.61 kB / 494.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1423, allocations: 0 / 494.5 MB, free: 4.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1423, allocations: 4 kB / 494.5 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.1423, allocations: 8 kB / 494.5 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1425, allocations: 31.97 kB / 494.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.1433, allocations: 400.6 kB / 494.9 MB, free: 4.496 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.1436, allocations: 54.5 kB / 494.9 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1436, allocations: 4 kB / 495 MB, free: 4.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1437, allocations: 30.56 kB / 495 MB, free: 4.391 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.375e-06/0.1437, allocations: 0 / 495 MB, free: 4.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001007/0.1447, allocations: 252 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.1448, allocations: 55.41 kB / 495.3 MB, free: 4.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.1463, allocations: 0.8652 MB / 496.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.1463, allocations: 25.7 kB / 496.2 MB, free: 3.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.1466, allocations: 246.5 kB / 496.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.1466, allocations: 19.75 kB / 496.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-06/0.1466, allocations: 4 kB / 496.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1468, allocations: 310.8 kB / 496.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.147, allocations: 23.98 kB / 496.8 MB, free: 2.562 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.1471, allocations: 27.97 kB / 496.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.1473, allocations: 31.98 kB / 496.8 MB, free: 2.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1473, allocations: 3.938 kB / 496.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003537/0.1476, allocations: 89.61 kB / 496.9 MB, free: 2.406 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1477, allocations: 6.656 kB / 496.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.1477, allocations: 0 / 496.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1477, allocations: 7.953 kB / 496.9 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1479, allocations: 15.98 kB / 496.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1479, allocations: 3.938 kB / 496.9 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001275/0.1481, allocations: 11.98 kB / 497 MB, free: 2.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.1481, allocations: 288 / 497 MB, free: 2.363 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.0003292/0.1484, allocations: 213.8 kB / 497.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.337e-05/0.1485, allocations: 43.44 kB / 497.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.149, allocations: 157 kB / 497.4 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.149, allocations: 3.953 kB / 497.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1491, allocations: 320 / 497.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1491, allocations: 0 / 497.4 MB, free: 1.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/0.15, allocations: 482.5 kB / 497.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.15, allocations: 0 / 497.8 MB, free: 1.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.1501, allocations: 19.92 kB / 497.9 MB, free: 1.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.1501, allocations: 3.953 kB / 497.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1502, allocations: 0 / 497.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1502, allocations: 0 / 497.9 MB, free: 1.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1502, allocations: 4 kB / 497.9 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.1506, allocations: 227 kB / 498.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.1508, allocations: 112.5 kB / 498.2 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1508, allocations: 7.953 kB / 498.2 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.151, allocations: 12 kB / 498.2 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.151, allocations: 3.984 kB / 498.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.151, allocations: 4 kB / 498.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.1521, allocations: 0.6511 MB / 498.9 MB, free: 348 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1521, allocations: 0 / 498.9 MB, free: 348 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.1525, allocations: 28 kB / 498.9 MB, free: 320 kB / 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.00195/0.1544, allocations: 1.051 MB / 500 MB, free: 15.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.1548, allocations: 63.97 kB / 0.4883 GB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1548, allocations: 0 / 0.4883 GB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.155, allocations: 35.92 kB / 0.4883 GB, free: 15.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1554, allocations: 26.25 kB / 0.4884 GB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.1602, allocations: 2.285 MB / 0.4906 GB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006119/0.1609, allocations: 0.8418 MB / 0.4914 GB, free: 11.94 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/0.1611, allocations: 119.4 kB / 0.4915 GB, free: 11.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.322e-06/0.1611, allocations: 0 / 0.4915 GB, free: 11.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.8/2.961, allocations: 6.72 MB / 0.4981 GB, free: 5.094 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat