Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",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.0009932/0.0009932, allocations: 177 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.275/1.275, 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.0009276/0.0009274, allocations: 90.92 kB / 292.1 MB, free: 10.9 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.3268/0.3268, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003098, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3485, allocations: 61.9 MB / 0.5096 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.4618, allocations: 88.28 MB / 0.5959 GB, free: 6.809 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4621, allocations: 83.91 kB / 0.5959 GB, free: 6.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.474, allocations: 4.718 MB / 0.6005 GB, free: 2.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4741, allocations: 0 / 0.6005 GB, free: 2.016 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.4741, allocations: 4 kB / 0.6005 GB, free: 2.012 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004828/0.4746, allocations: 438.7 kB / 0.601 GB, free: 1.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.4747, allocations: 8.031 kB / 0.601 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.4747, allocations: 42.48 kB / 0.601 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.4748, allocations: 15.89 kB / 0.601 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.4751, allocations: 217 kB / 0.6012 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4751, allocations: 8 kB / 0.6012 GB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.4751, allocations: 7.953 kB / 0.6012 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.4753, allocations: 70.66 kB / 0.6013 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4753, allocations: 0 / 0.6013 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4753, allocations: 12 kB / 0.6013 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4753, allocations: 0 / 0.6013 GB, free: 1.109 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.4755, allocations: 51.89 kB / 0.6014 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005051/0.476, allocations: 344.7 kB / 0.6017 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.4761, allocations: 70.48 kB / 0.6018 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.4762, allocations: 0 / 0.6018 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.4762, allocations: 38.56 kB / 0.6018 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.4762, allocations: 0 / 0.6018 GB, free: 0.5469 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001086/0.4773, allocations: 361.6 kB / 0.6022 GB, free: 192 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4773, allocations: 55.36 kB / 0.6022 GB, free: 124 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.4776, allocations: 205.4 kB / 0.6024 GB, free: 15.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.4776, allocations: 33.7 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.978e-05/0.4777, allocations: 108.1 kB / 0.6025 GB, free: 15.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.4777, allocations: 47.36 kB / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.4777, allocations: 0 / 0.6026 GB, free: 15.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4778, allocations: 330.8 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.478, allocations: 51.91 kB / 0.6029 GB, free: 15.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.257e-05/0.4781, allocations: 49.47 kB / 0.603 GB, free: 15.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.4782, allocations: 55.97 kB / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.4782, allocations: 0 / 0.603 GB, free: 15.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002666/0.4785, allocations: 164.5 kB / 0.6032 GB, free: 15.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4785, allocations: 4 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.4785, allocations: 4 kB / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.4785, allocations: 0 / 0.6032 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.4787, allocations: 31.92 kB / 0.6032 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.4787, allocations: 4 kB / 0.6032 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.074e-05/0.4788, allocations: 11.94 kB / 0.6033 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.4788, allocations: 8 kB / 0.6033 GB, free: 15 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 (13): * Single equations (assignments): 13 * 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.0001131/0.4789, allocations: 130.4 kB / 0.6034 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.479, allocations: 15.81 kB / 0.6034 GB, free: 14.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.4793, allocations: 195.3 kB / 0.6036 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4793, allocations: 4 kB / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.4793, allocations: 0 / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4794, allocations: 3.984 kB / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006477/0.48, allocations: 0.5147 MB / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.48, allocations: 0 / 0.6041 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-05/0.4801, allocations: 31.97 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.4801, allocations: 4.031 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4802, allocations: 11.95 kB / 0.6041 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4802, allocations: 0 / 0.6041 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4802, allocations: 3.938 kB / 0.6041 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.4805, allocations: 269.9 kB / 0.6044 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.4806, allocations: 105 kB / 0.6045 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.4806, allocations: 0 / 0.6045 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.4807, allocations: 8 kB / 0.6045 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.4807, allocations: 11.98 kB / 0.6045 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.4808, allocations: 4 kB / 0.6045 GB, free: 13.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.4809, allocations: 167.2 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4809, allocations: 7.938 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.4812, allocations: 39.92 kB / 0.6047 GB, free: 13.38 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 (13): * Single equations (assignments): 13 * 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.001572/0.4828, allocations: 1.237 MB / 0.6059 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.4831, allocations: 127.8 kB / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4831, allocations: 0 / 0.6061 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4832, allocations: 67.91 kB / 0.6061 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.4835, allocations: 19.11 kB / 0.6061 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.4851, allocations: 0.9532 MB / 0.6071 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.4855, allocations: 0.7278 MB / 0.6078 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.85e-05/0.4856, allocations: 24.53 kB / 0.6078 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.4857, allocations: 47.42 kB / 0.6079 GB, free: 10.26 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4857, allocations: 0 / 0.6079 GB, free: 10.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.5001, allocations: 3.151 MB / 0.6109 GB, free: 7.219 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.5004, allocations: 215.9 kB / 0.6111 GB, free: 6.973 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.2, allocations: 7.938 kB / 0.6111 GB, free: 6.965 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat does not exist to compare? outputFormat=mat