Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18",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.0009478/0.000948, allocations: 96.41 kB / 16.99 MB, free: 5.941 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.0009403/0.0009404, allocations: 183.3 kB / 17.87 MB, free: 5.609 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.396/1.396, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 44.22 MB / 337.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003481, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1541, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.001991/0.1561, allocations: 1.282 MB / 472.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1576, allocations: 0.9414 MB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.77e-05/0.1576, allocations: 0 / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.1579, allocations: 23.91 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.158, allocations: 35.84 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1583, allocations: 67.86 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001375/0.1584, allocations: 47.81 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.1586, allocations: 20.17 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.435e-05/0.1586, allocations: 11.94 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1588, allocations: 27.84 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.1588, allocations: 0 / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/0.1589, allocations: 27.98 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.1589, allocations: 19.91 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.159, allocations: 33.7 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1592, allocations: 72.11 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1592, allocations: 0 / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1592, allocations: 7.938 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.1592, allocations: 0 / 474.2 MB, free: 11.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005644/0.1598, allocations: 379 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.1598, allocations: 8.031 kB / 474.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.58e-05/0.1599, allocations: 38.55 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1599, allocations: 7.906 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.1601, allocations: 183 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.1601, allocations: 4 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.1602, allocations: 7.953 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1604, allocations: 71.39 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1604, allocations: 7.906 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1604, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1604, allocations: 0 / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1606, allocations: 39.91 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.161, allocations: 288.8 kB / 475.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.1611, allocations: 58.44 kB / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.1611, allocations: 0 / 475.2 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1612, allocations: 34.56 kB / 475.3 MB, free: 9.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.1612, allocations: 4 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006343/0.1618, allocations: 193.6 kB / 475.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1619, allocations: 81.11 kB / 475.5 MB, free: 9.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.162, allocations: 141.8 kB / 475.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1621, allocations: 25.7 kB / 475.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.1621, allocations: 96.12 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.1621, allocations: 23.56 kB / 475.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.1622, allocations: 4 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1623, allocations: 322.8 kB / 476.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.1624, allocations: 27.98 kB / 476.2 MB, free: 8.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.1625, allocations: 41.7 kB / 476.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.1625, allocations: 31.98 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1626, allocations: 0 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002004/0.1628, allocations: 117.5 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1628, allocations: 4 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1628, allocations: 128 / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1628, allocations: 4 kB / 476.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.1629, allocations: 23.98 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.163, allocations: 0 / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.163, allocations: 8 kB / 476.4 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.163, allocations: 4 kB / 476.4 MB, free: 8.527 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 9.331e-05/0.1631, allocations: 122.3 kB / 476.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1632, allocations: 7.906 kB / 476.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.1634, allocations: 130.2 kB / 476.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1635, allocations: 7.938 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1635, allocations: 0 / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1635, allocations: 0 / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004757/0.164, allocations: 394.4 kB / 477 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.164, allocations: 0 / 477 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.1641, allocations: 19.98 kB / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1641, allocations: 0 / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1641, allocations: 0 / 477.1 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1641, allocations: 3.938 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1641, allocations: 0 / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1643, allocations: 211.4 kB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.1644, allocations: 85 kB / 477.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1644, allocations: 7.984 kB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.265e-05/0.1645, allocations: 4 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.1646, allocations: 15.92 kB / 477.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1646, allocations: 4 kB / 477.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.619e-05/0.1647, allocations: 107.2 kB / 477.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1647, allocations: 4 kB / 477.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1649, allocations: 27.98 kB / 477.5 MB, free: 7.293 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 (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.00138/0.1663, allocations: 1.071 MB / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.1666, allocations: 71.91 kB / 478.7 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1666, allocations: 3.938 kB / 478.7 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.1667, allocations: 43.97 kB / 478.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1669, allocations: 4 kB / 478.7 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.168, allocations: 0.5873 MB / 479.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1683, allocations: 0.7004 MB / 480 MB, free: 4.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.681e-05/0.1684, allocations: 17.11 kB / 480 MB, free: 4.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.1684, allocations: 31.36 kB / 480 MB, free: 4.844 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1684, allocations: 4 kB / 480.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.1824, allocations: 2.447 MB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.1826, allocations: 219.4 kB / 482.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/1.943, allocations: 3.938 kB / 482.7 MB, free: 2.27 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat does not exist to compare? outputFormat=mat