Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.0008145/0.0008145, allocations: 99.83 kB / 17.01 MB, free: 6.105 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.0007709/0.0007709, allocations: 179 kB / 17.89 MB, free: 5.688 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.419/1.419, allocations: 223.2 MB / 241.9 MB, free: 264 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.2106/0.2106, allocations: 44.23 MB / 337.2 MB, free: 2.801 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003711, allocations: 8.219 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1331, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002231/0.1354, allocations: 1.325 MB / 473 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007829/0.1362, allocations: 423.5 kB / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.874e-05/0.1363, allocations: 0 / 473.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002393/0.1365, allocations: 39.88 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.1367, allocations: 47.88 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.1372, allocations: 159.2 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1373, allocations: 63.83 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1374, allocations: 12 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.1375, allocations: 27.91 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.849e-05/0.1376, allocations: 31.84 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1376, allocations: 8 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1377, allocations: 43.91 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.1378, allocations: 15.98 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.1378, allocations: 37.64 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.138, allocations: 76.11 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.138, allocations: 0 / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.138, allocations: 0 / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.138, allocations: 0 / 473.9 MB, free: 11.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00054/0.1385, allocations: 410.9 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1386, allocations: 8.031 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.164e-05/0.1386, allocations: 38.55 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.1387, allocations: 7.906 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.1389, allocations: 191.5 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1389, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.1389, allocations: 11.95 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1391, allocations: 73.55 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1391, allocations: 4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1392, allocations: 4 kB / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1392, allocations: 0 / 474.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.1393, allocations: 51.95 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1398, allocations: 332.6 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.1401, allocations: 58.55 kB / 475.1 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.533e-05/0.1402, allocations: 36.97 kB / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.1402, allocations: 0 / 475.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.1402, allocations: 34.56 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.1402, allocations: 0 / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001472/0.1417, allocations: 493 kB / 475.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.1418, allocations: 59.34 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.142, allocations: 178.4 kB / 475.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.142, allocations: 25.7 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.1421, allocations: 112 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.511e-05/0.1421, allocations: 31.47 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.1421, allocations: 4 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1423, allocations: 322.8 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1424, allocations: 59.95 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.1425, allocations: 67.95 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1427, allocations: 68.23 kB / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1427, allocations: 0 / 476.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003272/0.143, allocations: 185.4 kB / 476.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1431, allocations: 4 kB / 476.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1431, allocations: 0 / 476.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1431, allocations: 8 kB / 476.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1432, allocations: 27.98 kB / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1432, allocations: 0 / 476.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.1433, allocations: 15.94 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.1433, allocations: 8 kB / 476.8 MB, free: 8.23 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 (11): * Single equations (assignments): 11 * 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.0001127/0.1435, allocations: 134.4 kB / 477 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.1435, allocations: 16.45 kB / 477 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.1439, allocations: 206.1 kB / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1439, allocations: 0 / 477.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.1439, allocations: 4 kB / 477.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.144, allocations: 7.984 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000745/0.1447, allocations: 0.5155 MB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1447, allocations: 0 / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/0.1448, allocations: 27.98 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1448, allocations: 8.062 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1449, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1449, allocations: 3.953 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1449, allocations: 4 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003834/0.1453, allocations: 284.9 kB / 478 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.1453, allocations: 93 kB / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1454, allocations: 0 / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.1455, allocations: 20 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.1455, allocations: 11.94 kB / 478.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1455, allocations: 7.984 kB / 478.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1457, allocations: 133.5 kB / 478.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1457, allocations: 3.938 kB / 478.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.1459, allocations: 24 kB / 478.3 MB, free: 6.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001618/0.1476, allocations: 1.157 MB / 479.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.1479, allocations: 155.8 kB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1479, allocations: 0 / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.1481, allocations: 76.02 kB / 479.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1484, allocations: 19.95 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.1499, allocations: 0.9029 MB / 480.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.1503, allocations: 0.7119 MB / 481.3 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.1504, allocations: 36.36 kB / 481.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.1505, allocations: 39.42 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1505, allocations: 0 / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01414/0.1646, allocations: 2.872 MB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/0.1649, allocations: 223.6 kB / 484.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.002, allocations: 96 / 484.5 MB, free: 0.6172 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat does not exist to compare? outputFormat=mat