Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.0009509/0.0009509, allocations: 95.94 kB / 16.99 MB, free: 5.941 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.0009132/0.0009133, allocations: 183.2 kB / 17.87 MB, free: 5.609 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.567/1.567, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2/0.2, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003416, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1257, allocations: 61.93 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002035/0.1277, allocations: 1.255 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007533/0.1285, allocations: 367.6 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1286, allocations: 0 / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000179/0.1288, allocations: 11.88 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.1289, allocations: 35.89 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.1292, allocations: 98.88 kB / 473.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1294, allocations: 39.89 kB / 473.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1295, allocations: 8 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.1296, allocations: 19.92 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.208e-05/0.1296, allocations: 15.86 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1297, allocations: 0 / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.956e-05/0.1297, allocations: 23.98 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.1298, allocations: 7.938 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.657e-05/0.1298, allocations: 37.64 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.13, allocations: 60.19 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.13, allocations: 0 / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.13, allocations: 0 / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.13, allocations: 0 / 473.5 MB, free: 11.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000511/0.1305, allocations: 367.1 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1306, allocations: 8.031 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.1306, allocations: 38.55 kB / 473.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.1307, allocations: 7.844 kB / 473.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1309, allocations: 194.9 kB / 474.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1309, allocations: 3.953 kB / 474.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1309, allocations: 4 kB / 474.1 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.1311, allocations: 49.67 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1311, allocations: 0 / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.1311, allocations: 4 kB / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1311, allocations: 0 / 474.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.1312, allocations: 27.98 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1316, allocations: 280.9 kB / 474.5 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.1318, allocations: 54.48 kB / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1318, allocations: 4 kB / 474.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1318, allocations: 34.56 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1319, allocations: 0 / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005814/0.1324, allocations: 173.4 kB / 474.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.1325, allocations: 55.41 kB / 474.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1327, allocations: 148.4 kB / 474.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.1327, allocations: 25.7 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.1327, allocations: 96.12 kB / 475.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.1328, allocations: 19.66 kB / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.1328, allocations: 0 / 475.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1329, allocations: 330.8 kB / 475.4 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/0.133, allocations: 23.98 kB / 475.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.133, allocations: 27.92 kB / 475.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.925e-05/0.1331, allocations: 23.98 kB / 475.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1331, allocations: 4 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001777/0.1333, allocations: 93.75 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.1333, allocations: 4 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1334, allocations: 4.062 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1334, allocations: 4 kB / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.1334, allocations: 15.98 kB / 475.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1335, allocations: 4 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.1335, allocations: 8 kB / 475.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.1335, allocations: 0 / 475.6 MB, free: 9.324 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 (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.000114/0.1336, allocations: 126.3 kB / 475.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1337, allocations: 11.84 kB / 475.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.134, allocations: 106 kB / 475.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.134, allocations: 0 / 475.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.134, allocations: 0 / 475.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.134, allocations: 7.984 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1344, allocations: 362.5 kB / 476.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1345, allocations: 4 kB / 476.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.1345, allocations: 15.92 kB / 476.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1345, allocations: 4 kB / 476.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1345, allocations: 0 / 476.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1345, allocations: 3.938 kB / 476.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1346, allocations: 0 / 476.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.1348, allocations: 191.4 kB / 476.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.88e-05/0.1349, allocations: 89.02 kB / 476.5 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1349, allocations: 3.984 kB / 476.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.919e-05/0.135, allocations: 8 kB / 476.5 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.135, allocations: 3.938 kB / 476.5 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.135, allocations: 8.172 kB / 476.5 MB, free: 8.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.611e-05/0.1351, allocations: 121.3 kB / 476.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1351, allocations: 0 / 476.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1354, allocations: 11.98 kB / 476.7 MB, free: 8.164 MB / 350.1 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.001268/0.1366, allocations: 1.018 MB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001854/0.1368, allocations: 63.89 kB / 477.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1369, allocations: 4 kB / 477.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.725e-05/0.1369, allocations: 27.98 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1372, allocations: 15.98 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000969/0.1382, allocations: 0.6 MB / 478.4 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.1385, allocations: 0.7004 MB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.97e-05/0.1385, allocations: 15.98 kB / 479.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1386, allocations: 19.44 kB / 479.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1386, allocations: 4 kB / 479.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.1499, allocations: 2.083 MB / 481.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.1502, allocations: 218.1 kB / 481.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/1.873, allocations: 0 / 481.4 MB, free: 3.543 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat does not exist to compare? outputFormat=mat