Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2",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.0008293/0.0008294, allocations: 96.56 kB / 17 MB, free: 6.355 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.0009035/0.0009036, allocations: 184 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.436/1.436, allocations: 223.3 MB / 241.9 MB, free: 14.31 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.2352/0.2352, allocations: 44.22 MB / 337.2 MB, free: 2.512 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003575, allocations: 8 kB / 409.7 MB, free: 27.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1221, allocations: 61.92 MB / 471.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00199/0.1242, allocations: 1.251 MB / 472.9 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006796/0.1249, allocations: 379.5 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.1249, allocations: 0 / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.1251, allocations: 15.94 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.1253, allocations: 31.91 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1255, allocations: 82.66 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1257, allocations: 47.83 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.1258, allocations: 12 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.1258, allocations: 11.92 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.1259, allocations: 19.88 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.1259, allocations: 4 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.435e-05/0.126, allocations: 19.98 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.126, allocations: 15.92 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.1261, allocations: 29.7 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1262, allocations: 56.19 kB / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.1262, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1262, allocations: 0 / 473.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1262, allocations: 0 / 473.6 MB, free: 11.6 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.0004154/0.1266, allocations: 367.1 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.1267, allocations: 12.03 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.1267, allocations: 38.5 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.228e-05/0.1267, allocations: 7.906 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1269, allocations: 183 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.1269, allocations: 0 / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.127, allocations: 7.953 kB / 474.2 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1271, allocations: 49.69 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1271, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1271, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1271, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.055e-05/0.1272, allocations: 27.91 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.1276, allocations: 272.8 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1277, allocations: 46.56 kB / 474.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.1278, allocations: 16.94 kB / 474.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1278, allocations: 7.984 kB / 474.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.1279, allocations: 34.5 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1279, allocations: 3.938 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005277/0.1284, allocations: 153.4 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.1284, allocations: 55.34 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1286, allocations: 146.1 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.1286, allocations: 25.7 kB / 475 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.1287, allocations: 96.05 kB / 475.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.1287, allocations: 15.75 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.1287, allocations: 0 / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1288, allocations: 326.8 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-05/0.1289, allocations: 19.98 kB / 475.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.658e-05/0.129, allocations: 27.98 kB / 475.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.236e-05/0.129, allocations: 19.98 kB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.129, allocations: 4 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001672/0.1292, allocations: 81.58 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1292, allocations: 8 kB / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1292, allocations: 0 / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1293, allocations: 0 / 475.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.409e-05/0.1293, allocations: 19.92 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1293, allocations: 0 / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.944e-05/0.1294, allocations: 15.94 kB / 475.7 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.1294, allocations: 3.984 kB / 475.7 MB, free: 9.312 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 8.786e-05/0.1295, allocations: 122.3 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1295, allocations: 7.906 kB / 475.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.1298, allocations: 89.97 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1298, allocations: 4.281 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1298, allocations: 0 / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1298, allocations: 0 / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.1302, allocations: 358.8 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1302, allocations: 4 kB / 476.2 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.787e-05/0.1303, allocations: 15.98 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1303, allocations: 0 / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.1303, allocations: 4 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1303, allocations: 4 kB / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1303, allocations: 0 / 476.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.1305, allocations: 191.3 kB / 476.4 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1306, allocations: 81.02 kB / 476.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.1306, allocations: 4 kB / 476.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1307, allocations: 15.98 kB / 476.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.1307, allocations: 0 / 476.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.1307, allocations: 4 kB / 476.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.117e-05/0.1308, allocations: 110.1 kB / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1308, allocations: 0 / 476.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.131, allocations: 19.94 kB / 476.7 MB, free: 8.195 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.001262/0.1323, allocations: 1.008 MB / 477.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001706/0.1325, allocations: 51.97 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1325, allocations: 0 / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.1326, allocations: 31.97 kB / 477.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1329, allocations: 14.81 kB / 477.8 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008781/0.1338, allocations: 0.5482 MB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.134, allocations: 0.6887 MB / 479 MB, free: 5.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.092e-05/0.1341, allocations: 16.06 kB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.1341, allocations: 19.44 kB / 479.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1341, allocations: 3.938 kB / 479.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.1458, allocations: 2.036 MB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004812/0.1463, allocations: 223.4 kB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/1.972, allocations: 3.938 kB / 481.3 MB, free: 3.703 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat does not exist to compare? outputFormat=mat