Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4",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.001728/0.001729, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.353/1.353, allocations: 223.2 MB / 241 MB, free: 11.88 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.0009581/0.0009581, allocations: 94.61 kB / 292.1 MB, free: 10.91 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.3227/0.3227, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003274/0.0003273, allocations: 12 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 61.91 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.4951, allocations: 88.5 MB / 0.5961 GB, free: 6.621 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4953, allocations: 87.88 kB / 0.5961 GB, free: 6.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01727/0.5126, allocations: 7.85 MB / 0.6038 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5127, allocations: 0 / 0.6038 GB, free: 14.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/0.5127, allocations: 4 kB / 0.6038 GB, free: 14.67 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007228/0.5134, allocations: 0.6413 MB / 0.6044 GB, free: 13.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.5135, allocations: 12.03 kB / 0.6045 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.5135, allocations: 34.56 kB / 0.6045 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.5136, allocations: 39.44 kB / 0.6045 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.5141, allocations: 331.3 kB / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.5141, allocations: 0 / 0.6048 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/0.5142, allocations: 8 kB / 0.6049 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5143, allocations: 45.69 kB / 0.6049 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5143, allocations: 0 / 0.6049 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.5144, allocations: 8 kB / 0.6049 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.5144, allocations: 0 / 0.6049 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001004/0.5145, allocations: 35.91 kB / 0.6049 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007384/0.5152, allocations: 428.7 kB / 0.6053 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.5155, allocations: 54.48 kB / 0.6054 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.5155, allocations: 0 / 0.6054 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5155, allocations: 34.56 kB / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.5155, allocations: 0 / 0.6054 GB, free: 12.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006709/0.5162, allocations: 244 kB / 0.6057 GB, free: 12.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.5163, allocations: 55.36 kB / 0.6057 GB, free: 12.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.5175, allocations: 0.7862 MB / 0.6065 GB, free: 11.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.5175, allocations: 29.64 kB / 0.6065 GB, free: 11.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.5177, allocations: 228.1 kB / 0.6067 GB, free: 11.47 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.5177, allocations: 11.8 kB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.5177, allocations: 4 kB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5179, allocations: 362.8 kB / 0.6071 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.518, allocations: 19.98 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.5181, allocations: 27.98 kB / 0.6071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.862e-05/0.5182, allocations: 23.98 kB / 0.6072 GB, free: 11.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.5182, allocations: 0 / 0.6072 GB, free: 11.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002228/0.5184, allocations: 121.1 kB / 0.6073 GB, free: 10.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5184, allocations: 4 kB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5184, allocations: 4 kB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5185, allocations: 4 kB / 0.6073 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.433e-05/0.5185, allocations: 12.23 kB / 0.6073 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5185, allocations: 4 kB / 0.6073 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.5186, allocations: 15.89 kB / 0.6073 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5186, allocations: 0 / 0.6073 GB, free: 10.86 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 (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 0.0002133/0.5188, allocations: 214.3 kB / 0.6075 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.392e-05/0.5189, allocations: 47.44 kB / 0.6076 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003204/0.5193, allocations: 145 kB / 0.6077 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.5193, allocations: 4 kB / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.5193, allocations: 0 / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.5193, allocations: 0 / 0.6077 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009566/0.5203, allocations: 0.5882 MB / 0.6083 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5203, allocations: 0 / 0.6083 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.5203, allocations: 15.98 kB / 0.6083 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5203, allocations: 0 / 0.6083 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.5204, allocations: 0 / 0.6083 GB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5204, allocations: 4 kB / 0.6083 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5204, allocations: 7.891 kB / 0.6083 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.5207, allocations: 215.2 kB / 0.6085 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/0.5209, allocations: 164.5 kB / 0.6087 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.521, allocations: 8 kB / 0.6087 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.5211, allocations: 11.97 kB / 0.6087 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.5211, allocations: 7.953 kB / 0.6087 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.5211, allocations: 3.938 kB / 0.6087 GB, free: 9.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007175/0.5218, allocations: 0.6432 MB / 0.6093 GB, free: 8.684 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5218, allocations: 4 kB / 0.6093 GB, free: 8.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.5222, allocations: 52 kB / 0.6094 GB, free: 8.629 MB / 426.7 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.001619/0.5238, allocations: 1.056 MB / 0.6104 GB, free: 7.707 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002185/0.524, allocations: 55.97 kB / 0.6105 GB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.524, allocations: 0 / 0.6105 GB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.571e-05/0.5241, allocations: 31.92 kB / 0.6105 GB, free: 7.621 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.5244, allocations: 25.89 kB / 0.6105 GB, free: 7.598 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.5277, allocations: 2.314 MB / 0.6128 GB, free: 5.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.5282, allocations: 0.8301 MB / 0.6136 GB, free: 4.359 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.791e-05/0.5283, allocations: 40.5 kB / 0.6136 GB, free: 4.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.5284, allocations: 103.4 kB / 0.6137 GB, free: 4.219 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5284, allocations: 3.938 kB / 0.6137 GB, free: 4.215 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.5486, allocations: 6.417 MB / 0.62 GB, free: 13.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.5489, allocations: 213 kB / 0.6202 GB, free: 13.67 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.579, allocations: 4 kB / 0.6202 GB, free: 13.66 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat does not exist to compare? outputFormat=mat