Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001199/0.001199, allocations: 94.28 kB / 16.98 MB, free: 5.934 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.001248/0.001248, allocations: 186.5 kB / 17.88 MB, free: 5.594 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.406/1.406, allocations: 223.2 MB / 241.8 MB, free: 388 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.2405/0.2405, allocations: 44.22 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003093, allocations: 11.98 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1316, allocations: 61.92 MB / 471.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.002057/0.1338, allocations: 1.267 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.1352, allocations: 0.9375 MB / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.986e-05/0.1352, allocations: 0 / 473.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.1355, allocations: 27.84 kB / 473.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.1356, allocations: 35.84 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002153/0.1359, allocations: 79.28 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.136, allocations: 31.95 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1361, allocations: 12 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.401e-05/0.1361, allocations: 19.86 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1363, allocations: 19.86 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.1363, allocations: 0 / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.63e-05/0.1364, allocations: 31.98 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1364, allocations: 15.91 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1365, allocations: 37.7 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.1366, allocations: 64.12 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1366, allocations: 0 / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1366, allocations: 0 / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1366, allocations: 0 / 474.1 MB, free: 11.07 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.0004812/0.1371, allocations: 371.1 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1372, allocations: 8.031 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.934e-05/0.1372, allocations: 38.5 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.1372, allocations: 8 kB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1375, allocations: 186.9 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1375, allocations: 0 / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.1375, allocations: 7.953 kB / 474.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1377, allocations: 63.41 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1377, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1377, allocations: 0 / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1377, allocations: 4 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.1378, allocations: 31.92 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003636/0.1382, allocations: 272.9 kB / 475.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1384, allocations: 42.56 kB / 475.1 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1384, allocations: 4 kB / 475.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1385, allocations: 38.58 kB / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.494e-06/0.1385, allocations: 0 / 475.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005267/0.139, allocations: 153.6 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.1391, allocations: 85.05 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.1392, allocations: 133.8 kB / 475.5 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1392, allocations: 29.7 kB / 475.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.1393, allocations: 92.08 kB / 475.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.1393, allocations: 19.75 kB / 475.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1393, allocations: 0 / 475.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1395, allocations: 322.8 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.1396, allocations: 23.98 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.794e-05/0.1396, allocations: 33.7 kB / 476 MB, free: 8.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.1397, allocations: 28.02 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1397, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001778/0.1399, allocations: 89.56 kB / 476.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1399, allocations: 4 kB / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.1399, allocations: 0 / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.14, allocations: 0 / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.14, allocations: 23.92 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.14, allocations: 0 / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.1401, allocations: 11.98 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.1401, allocations: 0 / 476.2 MB, free: 8.75 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.398e-05/0.1402, allocations: 118.3 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.1402, allocations: 7.906 kB / 476.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.1405, allocations: 97.62 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1405, allocations: 0 / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1405, allocations: 4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1405, allocations: 0 / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.1409, allocations: 354.8 kB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1409, allocations: 4 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.141, allocations: 16 kB / 476.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.141, allocations: 3.984 kB / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.141, allocations: 0 / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.141, allocations: 0 / 476.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.141, allocations: 4 kB / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1413, allocations: 187.3 kB / 477 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.1413, allocations: 89 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.1414, allocations: 3.938 kB / 477.1 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.1414, allocations: 12 kB / 477.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1415, allocations: 7.984 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.1415, allocations: 0 / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.612e-05/0.1416, allocations: 103.3 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1416, allocations: 0 / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1419, allocations: 27.98 kB / 477.2 MB, free: 7.625 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.001463/0.1433, allocations: 1.061 MB / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1435, allocations: 47.97 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1436, allocations: 4 kB / 478.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.941e-05/0.1436, allocations: 23.98 kB / 478.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.1439, allocations: 23.92 kB / 478.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009508/0.1449, allocations: 0.5087 MB / 478.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.1452, allocations: 0.6887 MB / 479.6 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.1453, allocations: 11.98 kB / 479.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.1453, allocations: 27.42 kB / 479.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1453, allocations: 3.938 kB / 479.6 MB, free: 5.301 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.1613, allocations: 2.273 MB / 481.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.1616, allocations: 215.3 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.967, allocations: 3.938 kB / 482.1 MB, free: 2.91 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat does not exist to compare? outputFormat=mat