Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3",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.0009548/0.0009548, allocations: 94.14 kB / 17 MB, free: 6.418 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.001189/0.001189, allocations: 186.7 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: 384 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.2218/0.2218, allocations: 44.22 MB / 337.2 MB, free: 2.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003091, allocations: 11.98 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1226, allocations: 61.91 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.001819/0.1245, allocations: 1.274 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007482/0.1252, allocations: 375.6 kB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.1253, allocations: 0 / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1256, allocations: 71.84 kB / 473.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.1257, allocations: 51.81 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.126, allocations: 75.83 kB / 473.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1261, allocations: 59.83 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.1262, allocations: 16.12 kB / 473.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.1263, allocations: 27.91 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1264, allocations: 43.83 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1264, allocations: 0 / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.1265, allocations: 35.98 kB / 473.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.1266, allocations: 15.92 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.1266, allocations: 37.64 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.1267, allocations: 68.17 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1267, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1267, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1268, allocations: 0 / 473.8 MB, free: 11.51 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.0004201/0.1272, allocations: 405.1 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1272, allocations: 8.031 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.1273, allocations: 38.56 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.818e-05/0.1273, allocations: 7.906 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1275, allocations: 190.9 kB / 474.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1275, allocations: 4 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.1275, allocations: 3.953 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1277, allocations: 57.62 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1277, allocations: 4 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.1277, allocations: 0 / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1277, allocations: 4 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.316e-05/0.1278, allocations: 31.97 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1282, allocations: 292.7 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.1283, allocations: 50.5 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.593e-05/0.1284, allocations: 16.86 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.1284, allocations: 4.078 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1284, allocations: 34.56 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1284, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008557/0.1293, allocations: 245.1 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.1293, allocations: 59.39 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1295, allocations: 188.5 kB / 475.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1296, allocations: 29.7 kB / 475.4 MB, free: 9.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.1296, allocations: 100.1 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.1297, allocations: 35.55 kB / 475.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.103e-06/0.1297, allocations: 4 kB / 475.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1298, allocations: 330.7 kB / 475.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.1299, allocations: 23.98 kB / 475.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.146e-05/0.13, allocations: 27.92 kB / 475.9 MB, free: 9.141 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.1301, allocations: 35.98 kB / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1301, allocations: 0 / 476 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000246/0.1304, allocations: 105.6 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1304, allocations: 7.938 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1304, allocations: 4 kB / 476.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1305, allocations: 4 kB / 476.1 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.1306, allocations: 19.98 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1306, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.1306, allocations: 11.92 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.1306, allocations: 8 kB / 476.1 MB, free: 8.941 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 0.0001108/0.1307, allocations: 122.3 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.1308, allocations: 11.89 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002612/0.131, allocations: 126.3 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.1311, allocations: 0 / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1311, allocations: 0 / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1311, allocations: 432 / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.1316, allocations: 411.3 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1316, allocations: 4 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.1317, allocations: 19.92 kB / 476.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1317, allocations: 4 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1317, allocations: 4.031 kB / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1317, allocations: 0 / 476.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1317, allocations: 8.422 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1319, allocations: 212.2 kB / 477 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/0.132, allocations: 92.92 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.132, allocations: 3.984 kB / 477.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.1321, allocations: 12 kB / 477.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.1322, allocations: 11.88 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1322, allocations: 4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1323, allocations: 146.9 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 4 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1326, allocations: 19.98 kB / 477.3 MB, free: 7.641 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.001371/0.1339, allocations: 1.094 MB / 478.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.1341, allocations: 71.91 kB / 478.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1342, allocations: 0 / 478.5 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.568e-05/0.1343, allocations: 43.92 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.1346, allocations: 15.98 kB / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.1358, allocations: 0.7214 MB / 479.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1362, allocations: 0.7083 MB / 480 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.556e-05/0.1362, allocations: 12.95 kB / 480 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1363, allocations: 35.42 kB / 480 MB, free: 5.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1363, allocations: 0 / 480 MB, free: 5.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.1492, allocations: 2.506 MB / 482.5 MB, free: 2.625 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.1494, allocations: 226.5 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.886/2.036, allocations: 0 / 482.7 MB, free: 2.379 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat does not exist to compare? outputFormat=mat