Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007308/0.0007308, allocations: 101.8 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008656/0.0008657, allocations: 193.9 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.3 MB / 246 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002701, allocations: 15.98 kB / 418.2 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 63.46 MB / 481.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.001598/0.1282, allocations: 1.299 MB / 482.9 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1295, allocations: 1.074 MB / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.1296, allocations: 0 / 484 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.1298, allocations: 23.92 kB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.13, allocations: 59.77 kB / 484.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1302, allocations: 103.2 kB / 484.2 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.1304, allocations: 63.81 kB / 484.3 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.333e-05/0.1304, allocations: 4 kB / 484.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.1305, allocations: 23.86 kB / 484.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1306, allocations: 27.91 kB / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1306, allocations: 0 / 484.3 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1308, allocations: 91.81 kB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.028e-05/0.1308, allocations: 11.94 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1309, allocations: 29.7 kB / 484.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.131, allocations: 108.1 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.131, allocations: 0 / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.131, allocations: 0 / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.131, allocations: 0 / 484.5 MB, free: 2.363 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.0004019/0.1314, allocations: 387.1 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.1315, allocations: 12.03 kB / 484.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.1315, allocations: 30.56 kB / 485 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.1316, allocations: 15.91 kB / 485 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.1317, allocations: 197.5 kB / 485.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.1318, allocations: 4 kB / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1318, allocations: 0 / 485.2 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1319, allocations: 75.33 kB / 485.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1319, allocations: 3.938 kB / 485.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1319, allocations: 0 / 485.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.132, allocations: 0 / 485.3 MB, free: 1.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.504e-05/0.132, allocations: 27.98 kB / 485.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.1324, allocations: 288.9 kB / 485.6 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1326, allocations: 50.5 kB / 485.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.1326, allocations: 20.94 kB / 485.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.1326, allocations: 0 / 485.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.1327, allocations: 30.56 kB / 485.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1327, allocations: 0 / 485.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004995/0.1332, allocations: 173.2 kB / 485.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1332, allocations: 81.06 kB / 485.9 MB, free: 0.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.1334, allocations: 144.2 kB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.1334, allocations: 25.7 kB / 486.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.1334, allocations: 100.1 kB / 486.2 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.1335, allocations: 11.81 kB / 486.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.1335, allocations: 0 / 486.2 MB, free: 0.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.1336, allocations: 318.8 kB / 486.5 MB, free: 184 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.1336, allocations: 23.98 kB / 486.5 MB, free: 160 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.1337, allocations: 45.7 kB / 486.6 MB, free: 108 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.947e-05/0.1338, allocations: 27.97 kB / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1338, allocations: 0 / 486.6 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001895/0.134, allocations: 97.55 kB / 486.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.134, allocations: 4 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.134, allocations: 4 kB / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.134, allocations: 0 / 486.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.24e-05/0.1341, allocations: 15.98 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1341, allocations: 7.891 kB / 486.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.287e-05/0.1342, allocations: 4 kB / 486.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1342, allocations: 0 / 486.7 MB, free: 15.94 MB / 366.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 8.107e-05/0.1343, allocations: 125.8 kB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1343, allocations: 3.906 kB / 486.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.1345, allocations: 113.8 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1345, allocations: 0 / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1345, allocations: 4.219 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1346, allocations: 11.94 kB / 487 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.1349, allocations: 366.8 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.135, allocations: 0 / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.434e-05/0.135, allocations: 19.97 kB / 487.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.135, allocations: 7.938 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.135, allocations: 0 / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.135, allocations: 7.953 kB / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1351, allocations: 0 / 487.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.1353, allocations: 183.5 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1353, allocations: 93 kB / 487.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1353, allocations: 0 / 487.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1354, allocations: 8 kB / 487.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.1355, allocations: 11.94 kB / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1355, allocations: 0 / 487.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.805e-05/0.1356, allocations: 113.5 kB / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1356, allocations: 0 / 487.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1358, allocations: 35.98 kB / 487.8 MB, free: 14.76 MB / 366.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.001635/0.1375, allocations: 1.106 MB / 488.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.1378, allocations: 55.97 kB / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1378, allocations: 0 / 489 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.1379, allocations: 32.05 kB / 489 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.1384, allocations: 20.06 kB / 489 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1398, allocations: 0.5824 MB / 489.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.1402, allocations: 0.6965 MB / 490.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.634e-05/0.1403, allocations: 16.12 kB / 490.3 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.1404, allocations: 27.42 kB / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1404, allocations: 0 / 490.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02038/0.1608, allocations: 2.794 MB / 493.1 MB, free: 9.609 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.1612, allocations: 233.5 kB / 493.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.035, allocations: 11.69 kB / 493.4 MB, free: 9.352 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat does not exist to compare? outputFormat=mat