Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001144/0.001144, allocations: 180.4 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.601/1.601, allocations: 221.4 MB / 236 MB, free: 2.988 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.0009768/0.0009764, allocations: 88.09 kB / 287 MB, free: 256 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.2372/0.2372, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.829e-05/4.88e-05, allocations: 4.219 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4962/0.659, allocations: 88.16 MB / 0.5879 GB, free: 1.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.6593, allocations: 71.95 kB / 0.588 GB, free: 1.035 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01115/0.6705, allocations: 4.283 MB / 0.5921 GB, free: 12.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6706, allocations: 4 kB / 0.5922 GB, free: 12.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.6706, allocations: 4 kB / 0.5922 GB, free: 12.76 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.0003904/0.671, allocations: 370.4 kB / 0.5925 GB, free: 12.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.671, allocations: 8.031 kB / 0.5925 GB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.6711, allocations: 30.56 kB / 0.5925 GB, free: 12.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.6711, allocations: 11.91 kB / 0.5926 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.6714, allocations: 183 kB / 0.5927 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.6714, allocations: 4 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.137e-05/0.6714, allocations: 7.953 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.6716, allocations: 63.34 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.6716, allocations: 0 / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.6716, allocations: 3.938 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.6716, allocations: 0 / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.15e-05/0.6717, allocations: 12 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/0.6721, allocations: 280.8 kB / 0.5931 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001877/0.6723, allocations: 38.56 kB / 0.5931 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.432e-05/0.6723, allocations: 12.8 kB / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.6723, allocations: 0 / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.6723, allocations: 38.56 kB / 0.5932 GB, free: 11.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6724, allocations: 0 / 0.5932 GB, free: 11.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003973/0.6728, allocations: 109.5 kB / 0.5933 GB, free: 11.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.6728, allocations: 81.09 kB / 0.5934 GB, free: 11.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.6729, allocations: 117.5 kB / 0.5935 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.673, allocations: 29.69 kB / 0.5935 GB, free: 11.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.673, allocations: 88.14 kB / 0.5936 GB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.673, allocations: 15.75 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.673, allocations: 4 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6732, allocations: 322.8 kB / 0.5939 GB, free: 10.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.6732, allocations: 12 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.6732, allocations: 25.78 kB / 0.5939 GB, free: 10.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.655e-05/0.6733, allocations: 12 kB / 0.594 GB, free: 10.69 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.6733, allocations: 0 / 0.594 GB, free: 10.69 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.197e-05/0.6734, allocations: 65.53 kB / 0.594 GB, free: 10.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6734, allocations: 4 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6734, allocations: 7.984 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.6734, allocations: 0 / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.6735, allocations: 20.02 kB / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.6735, allocations: 0 / 0.594 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.6736, allocations: 4 kB / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.6736, allocations: 3.984 kB / 0.5941 GB, free: 10.58 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 (5): * Single equations (assignments): 5 * 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 7.024e-05/0.6737, allocations: 108.9 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.6737, allocations: 11.91 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.6739, allocations: 73.7 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.6739, allocations: 4 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6739, allocations: 0 / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.6739, allocations: 0 / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.6742, allocations: 326.5 kB / 0.5946 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6742, allocations: 0 / 0.5946 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.026e-05/0.6743, allocations: 12 kB / 0.5946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6743, allocations: 3.938 kB / 0.5946 GB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.6743, allocations: 4 kB / 0.5946 GB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6743, allocations: 3.938 kB / 0.5946 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.6743, allocations: 8.25 kB / 0.5946 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.6745, allocations: 163.4 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.909e-05/0.6745, allocations: 93 kB / 0.5948 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.6745, allocations: 0 / 0.5948 GB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.6746, allocations: 11.98 kB / 0.5948 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.6747, allocations: 0 / 0.5948 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.6747, allocations: 4 kB / 0.5948 GB, free: 9.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.704e-05/0.6748, allocations: 104.3 kB / 0.5949 GB, free: 9.559 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6748, allocations: 0 / 0.5949 GB, free: 9.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002351/0.675, allocations: 24 kB / 0.595 GB, free: 9.535 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 (5): * Single equations (assignments): 5 * 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.001253/0.6763, allocations: 0.9963 MB / 0.5959 GB, free: 8.633 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001098/0.6764, allocations: 28 kB / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6764, allocations: 0 / 0.596 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.251e-05/0.6764, allocations: 23.92 kB / 0.596 GB, free: 8.582 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.6766, allocations: 11.91 kB / 0.596 GB, free: 8.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.6771, allocations: 151.1 kB / 0.5961 GB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.6773, allocations: 0.6958 MB / 0.5968 GB, free: 7.664 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.798e-05/0.6774, allocations: 12.02 kB / 0.5968 GB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.167e-05/0.6775, allocations: 23.42 kB / 0.5969 GB, free: 7.629 MB / 410.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6775, allocations: 4 kB / 0.5969 GB, free: 7.625 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.6928, allocations: 2.269 MB / 0.5991 GB, free: 5.438 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.6931, allocations: 186.4 kB / 0.5993 GB, free: 5.215 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.302, allocations: 0 / 0.5993 GB, free: 5.215 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat