Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",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.000854/0.0008539, allocations: 92.89 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.0007657/0.0007656, allocations: 179.2 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.436/1.436, allocations: 223.3 MB / 241.9 MB, free: 356 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.2058/0.2058, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000299/0.000299, allocations: 12 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 61.92 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002078/0.1385, allocations: 1.278 MB / 472.9 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.1393, allocations: 371.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.1394, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1398, allocations: 103.8 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.14, allocations: 63.84 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1403, allocations: 83.41 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1405, allocations: 71.81 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.1407, allocations: 12.17 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.304e-05/0.1407, allocations: 35.84 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.1409, allocations: 51.88 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1409, allocations: 0 / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.141, allocations: 43.91 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.999e-05/0.1411, allocations: 19.92 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.1411, allocations: 41.64 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1413, allocations: 84.09 kB / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1413, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1413, allocations: 0 / 473.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1413, allocations: 0 / 473.9 MB, free: 11.36 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.0005836/0.1419, allocations: 406.8 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.142, allocations: 12.03 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.778e-05/0.142, allocations: 34.55 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.1421, allocations: 7.906 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.1423, allocations: 207.3 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1423, allocations: 8 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.29e-05/0.1424, allocations: 7.953 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.1425, allocations: 53.62 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.1425, allocations: 0 / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1426, allocations: 4 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1426, allocations: 0 / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1427, allocations: 35.95 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005445/0.1432, allocations: 292.8 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.1434, allocations: 46.5 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.1434, allocations: 20.94 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1435, allocations: 8 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.1435, allocations: 30.56 kB / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1435, allocations: 0 / 475 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008878/0.1444, allocations: 252.9 kB / 475.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.1445, allocations: 59.41 kB / 475.3 MB, free: 9.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1447, allocations: 230.7 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1447, allocations: 33.7 kB / 475.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.1448, allocations: 108 kB / 475.7 MB, free: 9.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.1449, allocations: 31.7 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1449, allocations: 0 / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.145, allocations: 330.7 kB / 476.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.546e-05/0.1451, allocations: 35.98 kB / 476.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.211e-05/0.1452, allocations: 28.05 kB / 476.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.908e-05/0.1453, allocations: 31.98 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1453, allocations: 0 / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002548/0.1455, allocations: 113.5 kB / 476.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.1456, allocations: 4 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1456, allocations: 0 / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1456, allocations: 4 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1457, allocations: 19.98 kB / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.1457, allocations: 0 / 476.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.1458, allocations: 11.94 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.1458, allocations: 8 kB / 476.3 MB, free: 8.699 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.0001602/0.1459, allocations: 133.8 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.146, allocations: 11.81 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1463, allocations: 123 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1463, allocations: 4 kB / 476.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1463, allocations: 3.938 kB / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1463, allocations: 432 / 476.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.1468, allocations: 415.3 kB / 477 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1468, allocations: 4.031 kB / 477 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.1469, allocations: 23.92 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.1469, allocations: 0 / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1469, allocations: 4 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.147, allocations: 0 / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.147, allocations: 7.891 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.1473, allocations: 224.2 kB / 477.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.1474, allocations: 85.02 kB / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.1474, allocations: 0 / 477.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.1475, allocations: 15.98 kB / 477.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.1476, allocations: 11.88 kB / 477.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.1476, allocations: 8 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001641/0.1477, allocations: 184.3 kB / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1478, allocations: 0 / 477.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.148, allocations: 27.91 kB / 477.6 MB, free: 7.332 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.001542/0.1496, allocations: 1.085 MB / 478.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1498, allocations: 67.91 kB / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1498, allocations: 0 / 478.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.939e-05/0.1499, allocations: 47.91 kB / 478.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1502, allocations: 16.25 kB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1516, allocations: 0.8439 MB / 479.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.152, allocations: 0.7192 MB / 480.3 MB, free: 4.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.928e-05/0.152, allocations: 20.95 kB / 480.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.1521, allocations: 35.42 kB / 480.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1521, allocations: 0 / 480.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.1653, allocations: 2.732 MB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.1655, allocations: 216.7 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.954/2.119, allocations: 0 / 483.3 MB, free: 1.734 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat does not exist to compare? outputFormat=mat