Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",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.001165/0.001165, 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.336/1.336, 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.0008928/0.0008929, allocations: 91.75 kB / 292.1 MB, free: 10.93 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.3631/0.3631, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003594/0.0003595, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3637, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.4797, allocations: 88.16 MB / 0.5957 GB, free: 6.965 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.48, allocations: 75.92 kB / 0.5958 GB, free: 6.898 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01164/0.4917, allocations: 4.411 MB / 0.6001 GB, free: 2.484 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4917, allocations: 0 / 0.6001 GB, free: 2.484 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.4917, allocations: 4 kB / 0.6001 GB, free: 2.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004706/0.4922, allocations: 422.8 kB / 0.6005 GB, free: 2.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4923, allocations: 8.031 kB / 0.6005 GB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.352e-05/0.4923, allocations: 46.5 kB / 0.6006 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.4923, allocations: 7.906 kB / 0.6006 GB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.4926, allocations: 223.2 kB / 0.6008 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4926, allocations: 7.953 kB / 0.6008 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.4927, allocations: 7.938 kB / 0.6008 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.4928, allocations: 57.67 kB / 0.6009 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4928, allocations: 0 / 0.6009 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4928, allocations: 0 / 0.6009 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4929, allocations: 0 / 0.6009 GB, free: 1.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.493, allocations: 31.98 kB / 0.6009 GB, free: 1.582 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004361/0.4934, allocations: 312.8 kB / 0.6012 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4935, allocations: 54.55 kB / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.4936, allocations: 0 / 0.6012 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.4936, allocations: 30.56 kB / 0.6013 GB, free: 1.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.4936, allocations: 4 kB / 0.6013 GB, free: 1.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008968/0.4945, allocations: 277.4 kB / 0.6015 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.4945, allocations: 55.39 kB / 0.6016 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.4948, allocations: 216.2 kB / 0.6018 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.4948, allocations: 29.7 kB / 0.6018 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.858e-05/0.4949, allocations: 115.9 kB / 0.6019 GB, free: 412 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.4949, allocations: 19.72 kB / 0.602 GB, free: 392 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.4949, allocations: 0 / 0.602 GB, free: 392 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4951, allocations: 326.8 kB / 0.6023 GB, free: 56 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.4951, allocations: 35.97 kB / 0.6023 GB, free: 20 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.4952, allocations: 32.03 kB / 0.6023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.4953, allocations: 35.94 kB / 0.6024 GB, free: 15.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4953, allocations: 0 / 0.6024 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000223/0.4956, allocations: 129.4 kB / 0.6025 GB, free: 15.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4956, allocations: 9.406 kB / 0.6025 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.4956, allocations: 0 / 0.6025 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4956, allocations: 0 / 0.6025 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4957, allocations: 19.98 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4958, allocations: 3.938 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.55e-05/0.4958, allocations: 15.94 kB / 0.6025 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4958, allocations: 7.953 kB / 0.6025 GB, free: 15.77 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 9.588e-05/0.4959, allocations: 129.8 kB / 0.6027 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.496, allocations: 15.81 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.4963, allocations: 151 kB / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4963, allocations: 0 / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4963, allocations: 0 / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.4963, allocations: 0 / 0.6028 GB, free: 15.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.4969, allocations: 451.2 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4969, allocations: 4 kB / 0.6033 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.559e-05/0.497, allocations: 15.98 kB / 0.6033 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.497, allocations: 4 kB / 0.6033 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.497, allocations: 4 kB / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.497, allocations: 4.406 kB / 0.6033 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.497, allocations: 7.953 kB / 0.6033 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4973, allocations: 241.8 kB / 0.6035 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.568e-05/0.4974, allocations: 89.02 kB / 0.6036 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.4974, allocations: 7.984 kB / 0.6036 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.4975, allocations: 15.95 kB / 0.6036 GB, free: 14.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.81e-05/0.4975, allocations: 7.984 kB / 0.6036 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.4975, allocations: 0 / 0.6036 GB, free: 14.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.4977, allocations: 184.3 kB / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4977, allocations: 0 / 0.6038 GB, free: 14.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.498, allocations: 27.91 kB / 0.6038 GB, free: 14.32 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.001431/0.4994, allocations: 1.2 MB / 0.605 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.4996, allocations: 79.94 kB / 0.6051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4996, allocations: 4 kB / 0.6051 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.2e-05/0.4997, allocations: 43.92 kB / 0.6051 GB, free: 13.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.5, allocations: 16.17 kB / 0.6052 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.5013, allocations: 0.8634 MB / 0.606 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.5016, allocations: 0.7249 MB / 0.6067 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.424e-05/0.5016, allocations: 32.89 kB / 0.6067 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.5017, allocations: 31.42 kB / 0.6068 GB, free: 11.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5017, allocations: 0 / 0.6068 GB, free: 11.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02086/0.5226, allocations: 2.936 MB / 0.6096 GB, free: 8.586 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003052/0.523, allocations: 213 kB / 0.6098 GB, free: 8.344 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.11, allocations: 4.062 kB / 0.6098 GB, free: 8.34 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat does not exist to compare? outputFormat=mat