Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009837/0.0009836, allocations: 177.8 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00088/0.0008799, allocations: 99.92 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3423/0.3423, allocations: 44.2 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 11.98 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3201, allocations: 61.9 MB / 0.5096 GB, free: 37.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1183/0.4385, allocations: 89.07 MB / 0.5966 GB, free: 6.059 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4387, allocations: 79.91 kB / 0.5967 GB, free: 5.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.457, allocations: 8.469 MB / 0.605 GB, free: 13.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.457, allocations: 0 / 0.605 GB, free: 13.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.711e-05/0.4571, allocations: 12 kB / 0.605 GB, free: 13.48 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000848/0.4579, allocations: 0.6336 MB / 0.6056 GB, free: 12.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.458, allocations: 8.031 kB / 0.6056 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.363e-05/0.4581, allocations: 42.5 kB / 0.6056 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.4582, allocations: 51.44 kB / 0.6057 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.4588, allocations: 339.2 kB / 0.606 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.629e-06/0.4588, allocations: 0 / 0.606 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.4588, allocations: 8 kB / 0.606 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.4591, allocations: 57.67 kB / 0.6061 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4591, allocations: 0 / 0.6061 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4591, allocations: 0 / 0.6061 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4591, allocations: 4 kB / 0.6061 GB, free: 12.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.4592, allocations: 39.92 kB / 0.6061 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007573/0.46, allocations: 464.6 kB / 0.6066 GB, free: 11.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.4601, allocations: 46.59 kB / 0.6066 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.4602, allocations: 8 kB / 0.6066 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.4602, allocations: 30.56 kB / 0.6066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4602, allocations: 0 / 0.6066 GB, free: 11.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001073/0.4613, allocations: 345.6 kB / 0.607 GB, free: 11.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.4613, allocations: 55.41 kB / 0.607 GB, free: 11.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.4625, allocations: 0.7902 MB / 0.6078 GB, free: 10.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.4626, allocations: 25.7 kB / 0.6078 GB, free: 10.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4627, allocations: 220 kB / 0.608 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.4628, allocations: 27.64 kB / 0.6081 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.4628, allocations: 4 kB / 0.6081 GB, free: 10.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.463, allocations: 362.8 kB / 0.6084 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.4631, allocations: 35.98 kB / 0.6084 GB, free: 9.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.4632, allocations: 47.95 kB / 0.6085 GB, free: 9.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.4633, allocations: 39.92 kB / 0.6085 GB, free: 9.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4633, allocations: 0 / 0.6085 GB, free: 9.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000285/0.4636, allocations: 157.1 kB / 0.6087 GB, free: 9.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4636, allocations: 5.25 kB / 0.6087 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.4636, allocations: 0 / 0.6087 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.4637, allocations: 3.953 kB / 0.6087 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.4638, allocations: 19.98 kB / 0.6087 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4638, allocations: 0 / 0.6087 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.4639, allocations: 16 kB / 0.6087 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4639, allocations: 3.938 kB / 0.6087 GB, free: 9.418 MB / 426.7 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.0002181/0.4641, allocations: 222.2 kB / 0.6089 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.17e-05/0.4642, allocations: 43.44 kB / 0.609 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.4646, allocations: 177.5 kB / 0.6091 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.4646, allocations: 0 / 0.6091 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.4646, allocations: 3.953 kB / 0.6092 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4646, allocations: 0 / 0.6092 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.4656, allocations: 0.663 MB / 0.6098 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4656, allocations: 4 kB / 0.6098 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.4657, allocations: 12 kB / 0.6098 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4657, allocations: 15.88 kB / 0.6098 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.4657, allocations: 0 / 0.6098 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4657, allocations: 0 / 0.6098 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.4657, allocations: 8 kB / 0.6098 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.4661, allocations: 265.9 kB / 0.6101 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.4663, allocations: 164.6 kB / 0.6102 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.4664, allocations: 4 kB / 0.6103 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4665, allocations: 11.98 kB / 0.6103 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.4665, allocations: 4 kB / 0.6103 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4665, allocations: 8 kB / 0.6103 GB, free: 7.707 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007403/0.4673, allocations: 0.6432 MB / 0.6109 GB, free: 7.066 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4673, allocations: 0 / 0.6109 GB, free: 7.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.4676, allocations: 67.94 kB / 0.611 GB, free: 7 MB / 426.7 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.001647/0.4693, allocations: 1.236 MB / 0.6122 GB, free: 5.918 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000236/0.4695, allocations: 83.89 kB / 0.6123 GB, free: 5.836 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4695, allocations: 4 kB / 0.6123 GB, free: 5.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.491e-05/0.4696, allocations: 39.98 kB / 0.6123 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.4699, allocations: 29.2 kB / 0.6123 GB, free: 5.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/0.4733, allocations: 2.425 MB / 0.6147 GB, free: 3.273 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.4737, allocations: 0.8458 MB / 0.6155 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.4739, allocations: 59.23 kB / 0.6156 GB, free: 2.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.474, allocations: 123.4 kB / 0.6157 GB, free: 2.223 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4741, allocations: 0 / 0.6157 GB, free: 2.223 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01907/0.4931, allocations: 6.799 MB / 0.6223 GB, free: 11.54 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.4934, allocations: 216.9 kB / 0.6225 GB, free: 11.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.471, allocations: 4 kB / 0.6225 GB, free: 11.29 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat does not exist to compare? outputFormat=mat