Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001136/0.001136, allocations: 180.3 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.614/1.614, allocations: 221.3 MB / 236 MB, free: 2.895 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.0008776/0.0008774, allocations: 99.66 kB / 287 MB, free: 188 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.2311/0.2311, allocations: 44.16 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.708e-05, allocations: 3.984 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1535, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4684/0.622, allocations: 88.16 MB / 0.5879 GB, free: 1.098 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.6223, allocations: 75.95 kB / 0.588 GB, free: 1.023 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.6337, allocations: 4.279 MB / 0.5921 GB, free: 12.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.6338, allocations: 4 kB / 0.5922 GB, free: 12.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.6338, allocations: 0 / 0.5922 GB, free: 12.75 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.0004275/0.6342, allocations: 366.4 kB / 0.5925 GB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.6343, allocations: 12.03 kB / 0.5925 GB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.6344, allocations: 34.56 kB / 0.5925 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.6344, allocations: 7.906 kB / 0.5926 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.6347, allocations: 186.9 kB / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6347, allocations: 0 / 0.5927 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.6348, allocations: 11.95 kB / 0.5927 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.6349, allocations: 55.41 kB / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.6349, allocations: 0 / 0.5928 GB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.635, allocations: 3.938 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.635, allocations: 4 kB / 0.5928 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.402e-05/0.635, allocations: 15.94 kB / 0.5928 GB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.6355, allocations: 280.9 kB / 0.5931 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.6358, allocations: 42.5 kB / 0.5931 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.6358, allocations: 16.8 kB / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.6358, allocations: 0 / 0.5931 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.6359, allocations: 30.56 kB / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.6359, allocations: 3.984 kB / 0.5932 GB, free: 11.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005074/0.6364, allocations: 105.4 kB / 0.5933 GB, free: 11.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.6365, allocations: 77.11 kB / 0.5933 GB, free: 11.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.6366, allocations: 125 kB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.6367, allocations: 25.7 kB / 0.5935 GB, free: 11.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.6367, allocations: 96.12 kB / 0.5936 GB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.6368, allocations: 11.75 kB / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.6368, allocations: 0 / 0.5936 GB, free: 11.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6369, allocations: 326.8 kB / 0.5939 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.452e-05/0.6369, allocations: 12 kB / 0.5939 GB, free: 10.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.637, allocations: 21.72 kB / 0.5939 GB, free: 10.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.064e-05/0.637, allocations: 12 kB / 0.594 GB, free: 10.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.637, allocations: 0 / 0.594 GB, free: 10.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001081/0.6372, allocations: 61.59 kB / 0.594 GB, free: 10.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.6372, allocations: 7.938 kB / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.6372, allocations: 0 / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.6372, allocations: 0 / 0.594 GB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.6373, allocations: 20.02 kB / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.6373, allocations: 0 / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.6374, allocations: 8 kB / 0.594 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.6374, allocations: 3.984 kB / 0.594 GB, free: 10.57 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 8.769e-05/0.6375, allocations: 108.9 kB / 0.5942 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.6375, allocations: 7.906 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.6377, allocations: 69.77 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6377, allocations: 11.94 kB / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6377, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6378, allocations: 0 / 0.5942 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.6381, allocations: 330.5 kB / 0.5946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6382, allocations: 384 / 0.5946 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.6382, allocations: 12 kB / 0.5946 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6382, allocations: 4 kB / 0.5946 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.6382, allocations: 4 kB / 0.5946 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6383, allocations: 4 kB / 0.5946 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6383, allocations: 4 kB / 0.5946 GB, free: 9.953 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.6384, allocations: 159.3 kB / 0.5947 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.493e-05/0.6385, allocations: 93 kB / 0.5948 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.6385, allocations: 0 / 0.5948 GB, free: 9.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.6386, allocations: 7.984 kB / 0.5948 GB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.6386, allocations: 7.938 kB / 0.5948 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.6386, allocations: 4 kB / 0.5948 GB, free: 9.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.75e-05/0.6387, allocations: 108.6 kB / 0.5949 GB, free: 9.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6387, allocations: 0 / 0.5949 GB, free: 9.547 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002595/0.639, allocations: 23.98 kB / 0.595 GB, free: 9.523 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.001358/0.6404, allocations: 0.9929 MB / 0.5959 GB, free: 8.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001361/0.6405, allocations: 32 kB / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6405, allocations: 0 / 0.596 GB, free: 8.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.735e-05/0.6406, allocations: 19.92 kB / 0.596 GB, free: 8.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.6408, allocations: 11.91 kB / 0.596 GB, free: 8.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.6414, allocations: 159.1 kB / 0.5961 GB, free: 8.363 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.6417, allocations: 0.6917 MB / 0.5968 GB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.6418, allocations: 15.77 kB / 0.5968 GB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.6418, allocations: 23.42 kB / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6418, allocations: 0 / 0.5969 GB, free: 7.609 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.6565, allocations: 2.27 MB / 0.5991 GB, free: 5.422 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/0.6567, allocations: 194.4 kB / 0.5993 GB, free: 5.191 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.268, allocations: 3.938 kB / 0.5993 GB, free: 5.188 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat