Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001638/0.001643, allocations: 188.8 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.394/2.394, 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.001174/0.001174, allocations: 94.86 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.3112/0.3112, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005118/0.0005118, allocations: 16 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1284, allocations: 58.87 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002602/0.1311, allocations: 1.302 MB / 491.6 MB, free: 7.918 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.1321, allocations: 299.9 kB / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.1321, allocations: 0 / 491.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008111/0.133, allocations: 435.2 kB / 492.3 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004802/0.1335, allocations: 243.5 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.1341, allocations: 135.8 kB / 492.7 MB, free: 6.824 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.1344, allocations: 123.7 kB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1345, allocations: 19.98 kB / 492.9 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.1347, allocations: 91.8 kB / 492.9 MB, free: 6.594 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003079/0.135, allocations: 147.7 kB / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.1351, allocations: 3.938 kB / 493.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1352, allocations: 27.98 kB / 493.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.1354, allocations: 87.67 kB / 493.2 MB, free: 6.332 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.1355, allocations: 65.52 kB / 493.3 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.1358, allocations: 187.9 kB / 493.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1358, allocations: 0 / 493.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1358, allocations: 0 / 493.5 MB, free: 6.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.1359, allocations: 0 / 493.5 MB, free: 6.078 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.001036/0.1369, allocations: 0.6105 MB / 494.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.137, allocations: 8.031 kB / 494.1 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.137, allocations: 30.56 kB / 494.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.663e-05/0.1371, allocations: 47.39 kB / 494.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1375, allocations: 283.2 kB / 494.4 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.1376, allocations: 4 kB / 494.4 MB, free: 5.004 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.1376, allocations: 4 kB / 494.4 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002718/0.1379, allocations: 61.67 kB / 494.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1379, allocations: 4 kB / 494.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1379, allocations: 0 / 494.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.138, allocations: 0 / 494.5 MB, free: 4.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002586/0.1382, allocations: 51.95 kB / 494.6 MB, free: 4.879 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008016/0.139, allocations: 416.6 kB / 495 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.1393, allocations: 46.56 kB / 495 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1393, allocations: 4 kB / 495 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.1394, allocations: 34.56 kB / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.414e-06/0.1394, allocations: 0 / 495 MB, free: 4.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001456/0.1408, allocations: 347.8 kB / 495.4 MB, free: 3.973 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1409, allocations: 51.41 kB / 495.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.1423, allocations: 0.8691 MB / 496.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.1424, allocations: 25.7 kB / 496.3 MB, free: 3 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002314/0.1426, allocations: 230.6 kB / 496.6 MB, free: 2.773 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.1427, allocations: 23.66 kB / 496.6 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.1427, allocations: 3.938 kB / 496.6 MB, free: 2.746 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.1429, allocations: 318.8 kB / 496.9 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.1431, allocations: 43.97 kB / 496.9 MB, free: 2.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.1434, allocations: 47.97 kB / 497 MB, free: 2.336 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1436, allocations: 51.97 kB / 497 MB, free: 2.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1436, allocations: 0 / 497 MB, free: 2.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005634/0.1442, allocations: 137.7 kB / 497.2 MB, free: 2.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.1442, allocations: 4 kB / 497.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1443, allocations: 0 / 497.2 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.1443, allocations: 3.953 kB / 497.2 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.1445, allocations: 31.92 kB / 497.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.1446, allocations: 0 / 497.2 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.1447, allocations: 24.2 kB / 497.2 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.1448, allocations: 0 / 497.2 MB, free: 2.082 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 (7): * Single equations (assignments): 7 * 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.0003391/0.1451, allocations: 217.8 kB / 497.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-05/0.1452, allocations: 47.38 kB / 497.5 MB, free: 1.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007062/0.1459, allocations: 197.4 kB / 497.7 MB, free: 1.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.146, allocations: 3.953 kB / 497.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.146, allocations: 0 / 497.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.146, allocations: 0 / 497.7 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1471, allocations: 0.5334 MB / 498.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1472, allocations: 0 / 498.2 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1474, allocations: 19.98 kB / 498.2 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.1474, allocations: 11.95 kB / 498.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1474, allocations: 0 / 498.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1474, allocations: 0 / 498.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1474, allocations: 0 / 498.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.1481, allocations: 267 kB / 498.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.1482, allocations: 116.5 kB / 498.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.1483, allocations: 7.953 kB / 498.6 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001992/0.1485, allocations: 12 kB / 498.6 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/0.1486, allocations: 7.984 kB / 498.6 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1486, allocations: 4 kB / 498.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001054/0.1497, allocations: 0.6511 MB / 499.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.1497, allocations: 0 / 499.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003892/0.1501, allocations: 24 kB / 499.3 MB, free: 15.87 MB / 346.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 (7): * Single equations (assignments): 7 * 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.002187/0.1523, allocations: 1.113 MB / 0.4887 GB, free: 14.79 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006185/0.153, allocations: 103.9 kB / 0.4888 GB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.153, allocations: 4 kB / 0.4888 GB, free: 14.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.1532, allocations: 63.91 kB / 0.4889 GB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.1537, allocations: 25.91 kB / 0.4889 GB, free: 14.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006181/0.1599, allocations: 2.362 MB / 0.4912 GB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.1606, allocations: 0.8418 MB / 0.492 GB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002404/0.1609, allocations: 111.4 kB / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of SimCode: time 9.328e-06/0.1609, allocations: 96 / 0.4921 GB, free: 11.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.832/2.993, allocations: 6.877 MB / 0.4988 GB, free: 4.297 MB / 346.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat does not exist to compare? outputFormat=mat