Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16",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.0009581/0.0009581, 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.281/1.281, 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.0008495/0.0008494, allocations: 86.83 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.3435/0.3435, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 15.98 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.364, allocations: 61.9 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1166/0.4807, allocations: 88.06 MB / 0.5956 GB, free: 6.957 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.481, allocations: 79.92 kB / 0.5957 GB, free: 6.887 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.492, allocations: 4.269 MB / 0.5999 GB, free: 2.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.492, allocations: 4 kB / 0.5999 GB, free: 2.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4921, allocations: 4 kB / 0.5999 GB, free: 2.609 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.0004233/0.4925, allocations: 410.8 kB / 0.6003 GB, free: 2.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4925, allocations: 8.031 kB / 0.6003 GB, free: 2.152 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.57e-05/0.4926, allocations: 42.55 kB / 0.6003 GB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.4926, allocations: 7.906 kB / 0.6003 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.4928, allocations: 199.9 kB / 0.6005 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.4928, allocations: 0 / 0.6005 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.4929, allocations: 15.95 kB / 0.6005 GB, free: 1.844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.493, allocations: 53.61 kB / 0.6006 GB, free: 1.785 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.493, allocations: 7.906 kB / 0.6006 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.4931, allocations: 0 / 0.6006 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.4931, allocations: 0 / 0.6006 GB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.795e-05/0.4932, allocations: 35.97 kB / 0.6006 GB, free: 1.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.4936, allocations: 296.8 kB / 0.6009 GB, free: 1.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.796e-05/0.4937, allocations: 42.5 kB / 0.601 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4937, allocations: 4 kB / 0.601 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4937, allocations: 38.64 kB / 0.601 GB, free: 1.301 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.4937, allocations: 4 kB / 0.601 GB, free: 1.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008244/0.4946, allocations: 237.1 kB / 0.6012 GB, free: 1.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.4946, allocations: 55.41 kB / 0.6013 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.4948, allocations: 183.1 kB / 0.6014 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.4948, allocations: 29.7 kB / 0.6015 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.4949, allocations: 112 kB / 0.6016 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.4949, allocations: 27.64 kB / 0.6016 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4949, allocations: 0 / 0.6016 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.4951, allocations: 326.8 kB / 0.6019 GB, free: 312 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.4952, allocations: 31.92 kB / 0.602 GB, free: 280 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.4952, allocations: 32.05 kB / 0.602 GB, free: 248 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.586e-05/0.4953, allocations: 35.92 kB / 0.602 GB, free: 212 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.4953, allocations: 0 / 0.602 GB, free: 212 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001972/0.4955, allocations: 105.5 kB / 0.6021 GB, free: 100 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4956, allocations: 8 kB / 0.6021 GB, free: 92 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.4956, allocations: 4 kB / 0.6021 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.4956, allocations: 0 / 0.6021 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.4957, allocations: 23.92 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.4957, allocations: 0 / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.4958, allocations: 7.984 kB / 0.6022 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.4958, allocations: 4 kB / 0.6022 GB, free: 52 kB / 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 () * 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.0001027/0.4959, allocations: 130.3 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.4959, allocations: 19.89 kB / 0.6023 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.4962, allocations: 118.7 kB / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4962, allocations: 0 / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4962, allocations: 0 / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.4962, allocations: 3.984 kB / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.4967, allocations: 431.2 kB / 0.6028 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4968, allocations: 0 / 0.6028 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.685e-05/0.4968, allocations: 23.98 kB / 0.6029 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4968, allocations: 32 / 0.6029 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.4969, allocations: 4 kB / 0.6029 GB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.4969, allocations: 7.938 kB / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4969, allocations: 0 / 0.6029 GB, free: 15.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4971, allocations: 225.9 kB / 0.6031 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.145e-05/0.4972, allocations: 93 kB / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.4972, allocations: 8 kB / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.026e-05/0.4973, allocations: 4 kB / 0.6032 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.4974, allocations: 11.94 kB / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.4974, allocations: 0 / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.4975, allocations: 160 kB / 0.6033 GB, free: 14.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4975, allocations: 4 kB / 0.6034 GB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002453/0.4978, allocations: 27.91 kB / 0.6034 GB, free: 14.69 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.001486/0.4993, allocations: 1.18 MB / 0.6045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4995, allocations: 75.89 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4995, allocations: 4 kB / 0.6046 GB, free: 13.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.288e-05/0.4996, allocations: 31.98 kB / 0.6046 GB, free: 13.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.4999, allocations: 26.91 kB / 0.6047 GB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.5011, allocations: 0.7574 MB / 0.6054 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.5013, allocations: 0.7041 MB / 0.6061 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.5014, allocations: 29.02 kB / 0.6061 GB, free: 11.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.5015, allocations: 23.44 kB / 0.6061 GB, free: 11.93 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/0.5015, allocations: 0 / 0.6061 GB, free: 11.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.5152, allocations: 2.668 MB / 0.6087 GB, free: 9.379 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.5154, allocations: 217 kB / 0.609 GB, free: 9.133 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.54/2.055, allocations: 0 / 0.609 GB, free: 9.133 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat does not exist to compare? outputFormat=mat