Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.0008888/0.0008889, allocations: 94.02 kB / 17 MB, free: 6.391 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.0008238/0.0008241, allocations: 180 kB / 17.89 MB, free: 5.926 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.475/1.475, allocations: 223.3 MB / 241.9 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002982/0.0002983, allocations: 11.98 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.0018/0.1189, allocations: 1.274 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.1197, allocations: 395.5 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.1198, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.1201, allocations: 99.8 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1203, allocations: 67.84 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.1206, allocations: 99.44 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1207, allocations: 67.81 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.1208, allocations: 12.17 kB / 473.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.1209, allocations: 39.83 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.121, allocations: 51.81 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.121, allocations: 0 / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1211, allocations: 39.98 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1212, allocations: 23.92 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.1212, allocations: 33.64 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.1213, allocations: 88.09 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1214, allocations: 0 / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1214, allocations: 0 / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1214, allocations: 0 / 473.9 MB, free: 11.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004344/0.1218, allocations: 409.1 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1219, allocations: 8.031 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.1219, allocations: 42.55 kB / 474.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.1219, allocations: 7.906 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.1221, allocations: 207.2 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1221, allocations: 7.984 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1222, allocations: 7.953 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1223, allocations: 49.69 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1223, allocations: 0 / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1223, allocations: 0 / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1223, allocations: 4 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.548e-05/0.1224, allocations: 39.97 kB / 474.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.1228, allocations: 304.8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.1229, allocations: 50.56 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.123, allocations: 20.94 kB / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.123, allocations: 0 / 475.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.1231, allocations: 34.56 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.1231, allocations: 0 / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008318/0.1239, allocations: 280.9 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1239, allocations: 55.34 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.1242, allocations: 234.7 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.1242, allocations: 29.7 kB / 475.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.185e-05/0.1243, allocations: 112 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.1243, allocations: 27.64 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1243, allocations: 3.938 kB / 475.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1244, allocations: 330.8 kB / 476.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.1245, allocations: 31.98 kB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.1246, allocations: 35.97 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.145e-05/0.1247, allocations: 31.98 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1247, allocations: 4 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002529/0.1249, allocations: 121.5 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.125, allocations: 4 kB / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.125, allocations: 0 / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.125, allocations: 0 / 476.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1251, allocations: 27.92 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1251, allocations: 4 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.1252, allocations: 7.984 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1252, allocations: 0 / 476.4 MB, free: 8.637 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 (8): * Single equations (assignments): 8 * 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 9.922e-05/0.1253, allocations: 137.8 kB / 476.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.1253, allocations: 12.23 kB / 476.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.1256, allocations: 143 kB / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.1256, allocations: 0 / 476.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1256, allocations: 3.938 kB / 476.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1257, allocations: 7.984 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.1262, allocations: 431.2 kB / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1262, allocations: 0 / 477.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.842e-05/0.1263, allocations: 19.98 kB / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1263, allocations: 0 / 477.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1263, allocations: 4 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1263, allocations: 4 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1263, allocations: 8.359 kB / 477.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1266, allocations: 232.1 kB / 477.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1267, allocations: 85.02 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1267, allocations: 0 / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.1268, allocations: 15.98 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1268, allocations: 11.95 kB / 477.5 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1268, allocations: 4 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.127, allocations: 184.3 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1272, allocations: 27.89 kB / 477.7 MB, free: 7.227 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 (8): * Single equations (assignments): 8 * 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.001415/0.1287, allocations: 1.097 MB / 478.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1289, allocations: 75.95 kB / 478.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1289, allocations: 4 kB / 478.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.129, allocations: 47.91 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.1294, allocations: 16.17 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1306, allocations: 0.8791 MB / 479.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.1309, allocations: 0.716 MB / 480.5 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.803e-05/0.131, allocations: 20.95 kB / 480.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.182e-05/0.1311, allocations: 35.42 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1311, allocations: 0 / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.1431, allocations: 2.79 MB / 483.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.1433, allocations: 216.6 kB / 483.6 MB, free: 1.508 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.04, allocations: 0 / 483.6 MB, free: 1.508 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat does not exist to compare? outputFormat=mat