Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11",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.0009205/0.0009205, allocations: 98.23 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.001206/0.001206, allocations: 184.2 kB / 17.89 MB, free: 5.922 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.5/1.5, allocations: 223.2 MB / 241.9 MB, free: 368 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.2135/0.2135, allocations: 44.23 MB / 337.2 MB, free: 2.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1169, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.00197/0.1189, allocations: 1.313 MB / 473 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1204, allocations: 0.9883 MB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.1205, allocations: 3.938 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.1207, allocations: 19.92 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.1209, allocations: 31.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.1214, allocations: 159.1 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1215, allocations: 51.84 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.719e-05/0.1216, allocations: 19.97 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.412e-05/0.1217, allocations: 27.86 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1218, allocations: 27.86 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1218, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.122, allocations: 43.97 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.755e-05/0.122, allocations: 15.92 kB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.1221, allocations: 33.7 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1222, allocations: 76.09 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1222, allocations: 0 / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1222, allocations: 0 / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.1222, allocations: 0 / 474.5 MB, free: 10.8 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.0005344/0.1228, allocations: 402.9 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1228, allocations: 8.031 kB / 474.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.383e-05/0.1229, allocations: 34.56 kB / 474.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.1229, allocations: 7.906 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1232, allocations: 194.1 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1232, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.1232, allocations: 7.953 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1234, allocations: 79.39 kB / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1234, allocations: 0 / 475.2 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1235, allocations: 7.984 kB / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1235, allocations: 0 / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.1236, allocations: 51.91 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004289/0.1241, allocations: 308.8 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1242, allocations: 50.55 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.1243, allocations: 32.94 kB / 475.6 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1243, allocations: 3.938 kB / 475.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.1243, allocations: 34.56 kB / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1243, allocations: 0 / 475.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007815/0.1251, allocations: 257.2 kB / 475.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.1252, allocations: 77.11 kB / 476 MB, free: 9.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.1254, allocations: 145.8 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1254, allocations: 25.7 kB / 476.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.1254, allocations: 104.1 kB / 476.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.1255, allocations: 15.72 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.1255, allocations: 0 / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1256, allocations: 326.8 kB / 476.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.1257, allocations: 43.97 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.1259, allocations: 69.73 kB / 476.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.126, allocations: 47.97 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.126, allocations: 4.031 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002875/0.1263, allocations: 137.5 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.1263, allocations: 11.92 kB / 476.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1263, allocations: 4.312 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1264, allocations: 0 / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1265, allocations: 23.98 kB / 476.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1265, allocations: 0 / 476.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.1266, allocations: 15.98 kB / 476.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1266, allocations: 3.984 kB / 476.9 MB, free: 8.078 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 (7): * Single equations (assignments): 7 * 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.0001281/0.1267, allocations: 126.3 kB / 477.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.1268, allocations: 7.906 kB / 477.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.1271, allocations: 158.5 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1271, allocations: 0 / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1272, allocations: 3.938 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.854e-06/0.1272, allocations: 7.984 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.1278, allocations: 430.4 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1278, allocations: 0 / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.528e-05/0.1279, allocations: 27.92 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1279, allocations: 0 / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.1279, allocations: 0 / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.1279, allocations: 8 kB / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1279, allocations: 0 / 477.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.1282, allocations: 243.3 kB / 477.9 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1283, allocations: 89 kB / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1283, allocations: 4 kB / 478 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.003e-05/0.1284, allocations: 11.98 kB / 478 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.1285, allocations: 7.984 kB / 478 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1285, allocations: 4 kB / 478.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.1287, allocations: 113.3 kB / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1287, allocations: 0 / 478.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.129, allocations: 27.98 kB / 478.2 MB, free: 6.73 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 (7): * Single equations (assignments): 7 * 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.001753/0.1307, allocations: 1.108 MB / 479.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002924/0.131, allocations: 99.88 kB / 479.4 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.131, allocations: 4 kB / 479.4 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1312, allocations: 55.95 kB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.1316, allocations: 14.66 kB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.1332, allocations: 0.7015 MB / 480.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.1337, allocations: 0.7004 MB / 480.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.1338, allocations: 21.12 kB / 480.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.44e-05/0.1339, allocations: 35.41 kB / 480.9 MB, free: 4.07 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.134, allocations: 3.938 kB / 480.9 MB, free: 4.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.1524, allocations: 2.621 MB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.1526, allocations: 220.3 kB / 483.8 MB, free: 1.328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/1.988, allocations: 0 / 483.8 MB, free: 1.328 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat does not exist to compare? outputFormat=mat