Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001682/0.001682, allocations: 180.6 kB / 14.15 MB, free: 1.176 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.442/1.442, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 92 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2247/0.2247, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.294e-05, allocations: 224 / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1494, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5916, allocations: 88.66 MB / 0.5884 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.5919, allocations: 68.88 kB / 0.5885 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.6095, allocations: 8.079 MB / 0.5963 GB, free: 8.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6096, allocations: 0 / 0.5963 GB, free: 8.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.188e-05/0.6096, allocations: 4 kB / 0.5963 GB, free: 8.43 MB / 410.7 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.0005629/0.6102, allocations: 0.552 MB / 0.5969 GB, free: 7.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6102, allocations: 8.031 kB / 0.5969 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.6103, allocations: 34.55 kB / 0.5969 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.996e-05/0.6104, allocations: 51.44 kB / 0.597 GB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.6109, allocations: 331.1 kB / 0.5973 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.6109, allocations: 0 / 0.5973 GB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.6109, allocations: 4 kB / 0.5973 GB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.6111, allocations: 45.69 kB / 0.5973 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.6111, allocations: 0 / 0.5973 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.6111, allocations: 0 / 0.5973 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.6111, allocations: 0 / 0.5973 GB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.6112, allocations: 19.94 kB / 0.5974 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.6118, allocations: 448.8 kB / 0.5978 GB, free: 6.805 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.6119, allocations: 34.58 kB / 0.5978 GB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.612, allocations: 16.94 kB / 0.5978 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.612, allocations: 0 / 0.5978 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.612, allocations: 43.78 kB / 0.5979 GB, free: 6.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.612, allocations: 0 / 0.5979 GB, free: 6.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000199/0.6122, allocations: 93.12 kB / 0.598 GB, free: 6.594 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.6123, allocations: 51.41 kB / 0.598 GB, free: 6.531 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.6134, allocations: 0.7733 MB / 0.5988 GB, free: 5.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.6134, allocations: 25.7 kB / 0.5988 GB, free: 5.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.6136, allocations: 220.1 kB / 0.599 GB, free: 5.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.6136, allocations: 7.844 kB / 0.599 GB, free: 5.492 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.6136, allocations: 0 / 0.599 GB, free: 5.492 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.6138, allocations: 366.8 kB / 0.5994 GB, free: 5.125 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.6138, allocations: 15.98 kB / 0.5994 GB, free: 5.109 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.6139, allocations: 4 kB / 0.5994 GB, free: 5.105 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.6139, allocations: 12 kB / 0.5994 GB, free: 5.094 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6139, allocations: 0 / 0.5994 GB, free: 5.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001282/0.614, allocations: 97.06 kB / 0.5995 GB, free: 4.992 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.6141, allocations: 4 kB / 0.5995 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6141, allocations: 3.984 kB / 0.5995 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.6141, allocations: 0 / 0.5995 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.6142, allocations: 16 kB / 0.5995 GB, free: 4.969 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.6142, allocations: 3.938 kB / 0.5995 GB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.611e-05/0.6143, allocations: 11.98 kB / 0.5995 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.6143, allocations: 0 / 0.5995 GB, free: 4.953 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.456e-05/0.6144, allocations: 108.9 kB / 0.5996 GB, free: 4.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.04e-05/0.6145, allocations: 43.38 kB / 0.5997 GB, free: 4.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002186/0.6147, allocations: 113.1 kB / 0.5998 GB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.6147, allocations: 4.047 kB / 0.5998 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6147, allocations: 7.984 kB / 0.5998 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.6147, allocations: 0 / 0.5998 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.615, allocations: 329.4 kB / 0.6001 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.615, allocations: 0 / 0.6001 GB, free: 4.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.44e-05/0.6151, allocations: 8 kB / 0.6001 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6151, allocations: 0 / 0.6001 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.6151, allocations: 4 kB / 0.6001 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6151, allocations: 3.984 kB / 0.6001 GB, free: 4.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6151, allocations: 4 kB / 0.6001 GB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.6153, allocations: 198.9 kB / 0.6003 GB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.6155, allocations: 156.6 kB / 0.6005 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.6156, allocations: 0 / 0.6005 GB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.6157, allocations: 8 kB / 0.6005 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.6157, allocations: 3.984 kB / 0.6005 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.6157, allocations: 4 kB / 0.6005 GB, free: 3.867 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000662/0.6164, allocations: 0.6381 MB / 0.6011 GB, free: 3.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6164, allocations: 0 / 0.6011 GB, free: 3.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.6167, allocations: 52 kB / 0.6011 GB, free: 3.18 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.001045/0.6177, allocations: 0.9356 MB / 0.6021 GB, free: 2.312 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.932e-05/0.6179, allocations: 27.98 kB / 0.6021 GB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6179, allocations: 0 / 0.6021 GB, free: 2.285 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.6179, allocations: 12 kB / 0.6021 GB, free: 2.273 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.6182, allocations: 23.8 kB / 0.6021 GB, free: 2.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.6194, allocations: 0.8179 MB / 0.6029 GB, free: 1.395 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.6198, allocations: 0.8301 MB / 0.6037 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.6199, allocations: 44.59 kB / 0.6038 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.6201, allocations: 115.4 kB / 0.6039 GB, free: 388 kB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6201, allocations: 0 / 0.6039 GB, free: 388 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.6385, allocations: 6.257 MB / 0.61 GB, free: 10.18 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.6388, allocations: 191.8 kB / 0.6102 GB, free: 9.949 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/2.836, allocations: 4 kB / 0.6102 GB, free: 9.945 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat