Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008323/0.0008326, allocations: 98.89 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007692/0.0007692, allocations: 177.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 223.2 MB / 241.9 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 44.23 MB / 337.2 MB, free: 2.574 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003042, allocations: 8.219 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1381, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002085/0.1403, allocations: 1.309 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007249/0.141, allocations: 375.7 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.1411, allocations: 0 / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.1414, allocations: 87.81 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.1416, allocations: 67.8 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1418, allocations: 75.59 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.142, allocations: 75.8 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1421, allocations: 23.98 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.983e-05/0.1422, allocations: 31.91 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.1423, allocations: 47.83 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1423, allocations: 3.938 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.072e-05/0.1424, allocations: 39.92 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.1425, allocations: 23.91 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.1425, allocations: 41.64 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1427, allocations: 84.14 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1427, allocations: 0 / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.219e-05/0.1427, allocations: 0 / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1427, allocations: 3.938 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004657/0.1432, allocations: 414.8 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.1432, allocations: 8.031 kB / 474.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.1433, allocations: 38.56 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.1433, allocations: 7.906 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1435, allocations: 202.7 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.1436, allocations: 8 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.1436, allocations: 7.953 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.1438, allocations: 77.59 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1438, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1438, allocations: 0 / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1438, allocations: 4 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1439, allocations: 39.97 kB / 474.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004164/0.1443, allocations: 336.6 kB / 475 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1445, allocations: 62.55 kB / 475.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.1445, allocations: 20.86 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.1446, allocations: 3.984 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1446, allocations: 34.56 kB / 475.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1446, allocations: 7.938 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009998/0.1456, allocations: 325.5 kB / 475.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.1457, allocations: 55.47 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.1459, allocations: 235.1 kB / 475.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1459, allocations: 33.7 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.146, allocations: 116 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.146, allocations: 43.36 kB / 476 MB, free: 9.074 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-06/0.1461, allocations: 4 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1462, allocations: 326.8 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.023e-05/0.1463, allocations: 39.97 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.936e-05/0.1464, allocations: 39.98 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.1465, allocations: 47.98 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1465, allocations: 0 / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002586/0.1467, allocations: 141.5 kB / 476.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1468, allocations: 4 kB / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1468, allocations: 0 / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1468, allocations: 0 / 476.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1469, allocations: 35.97 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1469, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.147, allocations: 15.94 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.147, allocations: 4 kB / 476.6 MB, free: 8.414 MB / 350.1 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 (13): * Single equations (assignments): 13 * 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.0001148/0.1471, allocations: 138.3 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.1472, allocations: 15.81 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.1475, allocations: 173.8 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1475, allocations: 3.938 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1475, allocations: 4 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1475, allocations: 3.953 kB / 476.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.1481, allocations: 483.1 kB / 477.4 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1481, allocations: 8.031 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.443e-05/0.1482, allocations: 23.98 kB / 477.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1482, allocations: 7.953 kB / 477.5 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1482, allocations: 4 kB / 477.5 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.1482, allocations: 3.984 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1482, allocations: 0 / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00028/0.1485, allocations: 252.1 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.1486, allocations: 88.92 kB / 477.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1486, allocations: 7.938 kB / 477.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.1487, allocations: 8 kB / 477.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1487, allocations: 11.98 kB / 477.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.1487, allocations: 8 kB / 477.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1489, allocations: 171.2 kB / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1489, allocations: 0 / 478 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1491, allocations: 24 kB / 478 MB, free: 6.898 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001399/0.1505, allocations: 1.134 MB / 479.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.1508, allocations: 95.95 kB / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1508, allocations: 0 / 479.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.1509, allocations: 55.92 kB / 479.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1513, allocations: 24 kB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.1526, allocations: 0.8899 MB / 480.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1529, allocations: 0.72 MB / 480.9 MB, free: 4.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.1529, allocations: 16.53 kB / 481 MB, free: 4.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.63e-05/0.153, allocations: 39.42 kB / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.153, allocations: 0 / 481 MB, free: 4.008 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.1668, allocations: 2.962 MB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.167, allocations: 223.5 kB / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.065, allocations: 0 / 484.2 MB, free: 0.9141 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat