Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.0008268/0.0008268, allocations: 98.47 kB / 17 MB, free: 6.402 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.0009345/0.0009347, allocations: 177.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.369/1.369, allocations: 223.3 MB / 241.9 MB, free: 320 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.2005/0.2005, allocations: 44.22 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003391, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1232, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.001995/0.1252, allocations: 1.278 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007135/0.126, allocations: 383.6 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.126, allocations: 0 / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1263, allocations: 107.8 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1265, allocations: 67.84 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.1268, allocations: 95.45 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.1269, allocations: 67.81 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.584e-05/0.127, allocations: 16.17 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.1271, allocations: 31.84 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1272, allocations: 51.88 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1272, allocations: 0 / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.02e-05/0.1273, allocations: 39.92 kB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.1273, allocations: 23.91 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.1274, allocations: 41.64 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1275, allocations: 80.11 kB / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1275, allocations: 0 / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1275, allocations: 0 / 473.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1276, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004666/0.128, allocations: 414.8 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1281, allocations: 8.031 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.301e-05/0.1281, allocations: 34.56 kB / 474.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1281, allocations: 7.906 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1284, allocations: 211.3 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1284, allocations: 4 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1284, allocations: 7.953 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.1285, allocations: 61.61 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1286, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1286, allocations: 3.984 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1286, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.1287, allocations: 31.98 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.1291, allocations: 308.8 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.919e-05/0.1292, allocations: 42.5 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1293, allocations: 28.94 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1293, allocations: 0 / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1293, allocations: 30.56 kB / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1294, allocations: 0 / 475.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008687/0.1302, allocations: 280.9 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1303, allocations: 51.41 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.1305, allocations: 242.7 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1306, allocations: 25.7 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.1307, allocations: 112 kB / 475.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.1307, allocations: 19.66 kB / 475.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.654e-05/0.1307, allocations: 7.938 kB / 475.8 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1309, allocations: 330.8 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.109e-05/0.1309, allocations: 35.97 kB / 476.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.131, allocations: 31.98 kB / 476.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.406e-05/0.1311, allocations: 36.06 kB / 476.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1311, allocations: 3.984 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002281/0.1314, allocations: 125.5 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1314, allocations: 4 kB / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1314, allocations: 0 / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1314, allocations: 0 / 476.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.1315, allocations: 19.98 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1315, allocations: 3.938 kB / 476.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.269e-05/0.1316, allocations: 16 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1316, allocations: 0 / 476.4 MB, free: 8.613 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.0001146/0.1317, allocations: 137.8 kB / 476.5 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1317, allocations: 11.81 kB / 476.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.132, allocations: 143.3 kB / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.132, allocations: 0 / 476.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.132, allocations: 3.938 kB / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.132, allocations: 0 / 476.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/0.1325, allocations: 439.2 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.1325, allocations: 0 / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.1326, allocations: 23.92 kB / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1326, allocations: 0 / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.1327, allocations: 0 / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1327, allocations: 4 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1327, allocations: 3.953 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.1329, allocations: 228.1 kB / 477.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.133, allocations: 89.42 kB / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.133, allocations: 0 / 477.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/0.1331, allocations: 12 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1331, allocations: 15.88 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1331, allocations: 4 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001455/0.1333, allocations: 188.3 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1333, allocations: 0 / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.1335, allocations: 19.91 kB / 477.7 MB, free: 7.211 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.001436/0.135, allocations: 1.101 MB / 478.8 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002215/0.1352, allocations: 83.89 kB / 478.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1352, allocations: 0 / 478.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001037/0.1353, allocations: 43.98 kB / 478.9 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1356, allocations: 18.2 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1369, allocations: 0.8794 MB / 479.8 MB, free: 5.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.1372, allocations: 0.7199 MB / 480.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.1373, allocations: 24.62 kB / 480.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.1373, allocations: 31.42 kB / 480.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1373, allocations: 0 / 480.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01326/0.1506, allocations: 2.785 MB / 483.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.1508, allocations: 220.1 kB / 483.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/1.97, allocations: 0 / 483.6 MB, free: 1.492 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat does not exist to compare? outputFormat=mat