Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001655/0.001654, 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.286/1.286, 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.0008976/0.0008976, allocations: 99.64 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.2855/0.2855, allocations: 44.22 MB / 387.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 12 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3222, allocations: 61.9 MB / 0.5096 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1102/0.4324, allocations: 88.16 MB / 0.5957 GB, free: 6.984 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4327, allocations: 87.91 kB / 0.5958 GB, free: 6.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.4443, allocations: 4.679 MB / 0.6004 GB, free: 2.227 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4443, allocations: 0 / 0.6004 GB, free: 2.227 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.4443, allocations: 0 / 0.6004 GB, free: 2.227 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004746/0.4448, allocations: 426.8 kB / 0.6008 GB, free: 1.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4449, allocations: 12.03 kB / 0.6008 GB, free: 1.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.4449, allocations: 38.56 kB / 0.6008 GB, free: 1.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.643e-05/0.445, allocations: 11.89 kB / 0.6009 GB, free: 1.691 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4452, allocations: 221 kB / 0.6011 GB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.4452, allocations: 4 kB / 0.6011 GB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.4453, allocations: 11.95 kB / 0.6011 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.4454, allocations: 73.53 kB / 0.6012 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4455, allocations: 0 / 0.6012 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.4455, allocations: 7.984 kB / 0.6012 GB, free: 1.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4455, allocations: 4 kB / 0.6012 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.4456, allocations: 43.97 kB / 0.6012 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.4461, allocations: 332.6 kB / 0.6015 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.4462, allocations: 66.55 kB / 0.6016 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.4462, allocations: 0 / 0.6016 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.4463, allocations: 42.5 kB / 0.6016 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.4463, allocations: 0 / 0.6016 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009813/0.4473, allocations: 325.5 kB / 0.6019 GB, free: 476 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.4473, allocations: 51.41 kB / 0.602 GB, free: 412 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.4475, allocations: 209.4 kB / 0.6022 GB, free: 192 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.4476, allocations: 29.7 kB / 0.6022 GB, free: 156 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.4476, allocations: 112 kB / 0.6023 GB, free: 40 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.952e-05/0.4477, allocations: 47.45 kB / 0.6024 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-06/0.4477, allocations: 4 kB / 0.6024 GB, free: 15.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4479, allocations: 326.8 kB / 0.6027 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.526e-05/0.448, allocations: 43.97 kB / 0.6027 GB, free: 15.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.381e-05/0.448, allocations: 35.98 kB / 0.6028 GB, free: 15.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.4481, allocations: 40.97 kB / 0.6028 GB, free: 15.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4482, allocations: 3.938 kB / 0.6028 GB, free: 15.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002428/0.4484, allocations: 149.5 kB / 0.6029 GB, free: 15.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4484, allocations: 8 kB / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.4484, allocations: 0 / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4485, allocations: 0 / 0.603 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.4486, allocations: 27.98 kB / 0.603 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4486, allocations: 4 kB / 0.603 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.753e-05/0.4487, allocations: 11.98 kB / 0.603 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.4487, allocations: 11.78 kB / 0.603 GB, free: 15.32 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.0001104/0.4488, allocations: 134.3 kB / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.4488, allocations: 15.81 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003315/0.4492, allocations: 172.5 kB / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.4492, allocations: 4 kB / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4492, allocations: 0 / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4492, allocations: 0 / 0.6033 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006473/0.4499, allocations: 499.1 kB / 0.6038 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4499, allocations: 3.938 kB / 0.6038 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.45, allocations: 31.98 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.45, allocations: 3.984 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.45, allocations: 3.953 kB / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.45, allocations: 4 kB / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.45, allocations: 7.969 kB / 0.6038 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002965/0.4503, allocations: 257 kB / 0.6041 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/0.4504, allocations: 108.9 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.4504, allocations: 4 kB / 0.6042 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.384e-05/0.4505, allocations: 8 kB / 0.6042 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.4506, allocations: 11.98 kB / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.4506, allocations: 0 / 0.6042 GB, free: 13.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001583/0.4508, allocations: 171.2 kB / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4508, allocations: 0 / 0.6044 GB, free: 13.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002693/0.451, allocations: 39.92 kB / 0.6044 GB, free: 13.76 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.001587/0.4526, allocations: 1.217 MB / 0.6056 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.4529, allocations: 103.9 kB / 0.6057 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4529, allocations: 0 / 0.6057 GB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.453, allocations: 55.97 kB / 0.6058 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.4533, allocations: 18.22 kB / 0.6058 GB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4547, allocations: 0.8985 MB / 0.6067 GB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.455, allocations: 0.7199 MB / 0.6074 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.558e-05/0.4551, allocations: 24.53 kB / 0.6074 GB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.4552, allocations: 43.48 kB / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4552, allocations: 0 / 0.6074 GB, free: 10.76 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01375/0.469, allocations: 3.08 MB / 0.6104 GB, free: 7.797 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.4692, allocations: 215.9 kB / 0.6106 GB, free: 7.551 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.119, allocations: 0 / 0.6106 GB, free: 7.551 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat does not exist to compare? outputFormat=mat