Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33",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.0008427/0.0008427, allocations: 98.39 kB / 17 MB, free: 6.414 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.001064/0.001065, allocations: 188.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.424/1.424, allocations: 223.2 MB / 241.9 MB, free: 360 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.2237/0.2237, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 61.91 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.00199/0.123, allocations: 1.266 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001597/0.1246, allocations: 0.9492 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.708e-05/0.1247, allocations: 0 / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.1249, allocations: 27.91 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.125, allocations: 35.91 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1253, allocations: 70.61 kB / 474 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1254, allocations: 43.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1255, allocations: 19.97 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.747e-05/0.1256, allocations: 11.88 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1257, allocations: 19.92 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1258, allocations: 4 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.1259, allocations: 43.97 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.73e-05/0.1259, allocations: 15.92 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.126, allocations: 25.7 kB / 474.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.1261, allocations: 72.17 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1261, allocations: 3.938 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1261, allocations: 0 / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1261, allocations: 0 / 474.2 MB, free: 11.01 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.0004224/0.1266, allocations: 379 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1266, allocations: 12.03 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.1266, allocations: 34.56 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.1267, allocations: 4 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1268, allocations: 186.9 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-06/0.1269, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.1269, allocations: 7.953 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.127, allocations: 67.34 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1271, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.1271, allocations: 4 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1271, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.1272, allocations: 27.98 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.1275, allocations: 268.9 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.1277, allocations: 46.5 kB / 475.3 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1277, allocations: 20.94 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.1278, allocations: 0 / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1278, allocations: 34.56 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1278, allocations: 0 / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005045/0.1283, allocations: 153.3 kB / 475.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.333e-05/0.1284, allocations: 81.11 kB / 475.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.1285, allocations: 133.8 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1286, allocations: 29.7 kB / 475.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.1286, allocations: 100.1 kB / 475.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.761e-05/0.1286, allocations: 7.812 kB / 475.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1286, allocations: 3.938 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1288, allocations: 326.8 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/0.1289, allocations: 19.98 kB / 476.1 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.524e-05/0.1289, allocations: 41.7 kB / 476.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.129, allocations: 19.98 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.129, allocations: 0 / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001779/0.1292, allocations: 97.55 kB / 476.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.1292, allocations: 4 kB / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1292, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1293, allocations: 0 / 476.3 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.1293, allocations: 15.98 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.1293, allocations: 0 / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.1294, allocations: 8 kB / 476.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1294, allocations: 0 / 476.3 MB, free: 8.672 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 9.71e-05/0.1295, allocations: 122.3 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.1295, allocations: 11.89 kB / 476.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.1298, allocations: 93.56 kB / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1298, allocations: 0 / 476.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1298, allocations: 7.938 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1298, allocations: 4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.1302, allocations: 354.8 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1302, allocations: 0 / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.1303, allocations: 24.2 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1303, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1303, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1303, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1303, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1305, allocations: 195.4 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.1306, allocations: 89.02 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.1306, allocations: 0 / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.1307, allocations: 7.984 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.339e-05/0.1307, allocations: 4 kB / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1307, allocations: 0 / 477.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.1308, allocations: 110.6 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1308, allocations: 0 / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1311, allocations: 23.94 kB / 477.4 MB, free: 7.543 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.001384/0.1325, allocations: 1.058 MB / 478.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1327, allocations: 47.97 kB / 478.5 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1327, allocations: 4 kB / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.1327, allocations: 31.92 kB / 478.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.1331, allocations: 15.98 kB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.134, allocations: 0.5246 MB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1343, allocations: 0.6887 MB / 479.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.269e-05/0.1343, allocations: 11.98 kB / 479.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.211e-05/0.1344, allocations: 23.42 kB / 479.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1344, allocations: 3.938 kB / 479.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01286/0.1473, allocations: 2.283 MB / 482 MB, free: 3.047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.1475, allocations: 228.2 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.936/2.083, allocations: 4 kB / 482.3 MB, free: 2.805 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat does not exist to compare? outputFormat=mat