Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004428/0.004428, allocations: 100.8 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 195.8 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.285/1.285, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3343/0.3343, allocations: 43.49 MB / 313.5 MB, free: 8.551 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 67.89 kB / 382.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.09615, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002607/0.09879, allocations: 1.618 MB / 441.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005603/0.09937, allocations: 307.7 kB / 441.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.09942, allocations: 0 / 441.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.09968, allocations: 103.8 kB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.09985, allocations: 75.78 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.1, allocations: 67.91 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.1002, allocations: 75.77 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.92e-05/0.1003, allocations: 12.27 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.915e-05/0.1003, allocations: 35.89 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.1004, allocations: 59.81 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1004, allocations: 4 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-05/0.1005, allocations: 27.98 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.1006, allocations: 23.86 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.1006, allocations: 27.75 kB / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1008, allocations: 95.64 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1008, allocations: 8 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.1008, allocations: 0 / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1008, allocations: 0 / 442.4 MB, free: 12.21 MB / 382.1 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.0004078/0.1012, allocations: 414.8 kB / 442.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1012, allocations: 12.03 kB / 442.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.104e-05/0.1013, allocations: 34.75 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1013, allocations: 12.78 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1015, allocations: 208 kB / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.1015, allocations: 384 / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1015, allocations: 16.36 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1016, allocations: 49.56 kB / 443.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1017, allocations: 0 / 443.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.1017, allocations: 4 kB / 443.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1017, allocations: 0 / 443.2 MB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.1018, allocations: 19.98 kB / 443.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.1021, allocations: 288.9 kB / 443.5 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1023, allocations: 42.5 kB / 443.5 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.1023, allocations: 20.94 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.1023, allocations: 0 / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.1024, allocations: 30.56 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1024, allocations: 0 / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004928/0.1029, allocations: 153.1 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.1029, allocations: 55.41 kB / 443.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1031, allocations: 234.7 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1032, allocations: 25.7 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.1032, allocations: 112.1 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1032, allocations: 11.81 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.1033, allocations: 25.7 kB / 444.2 MB, free: 10.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1034, allocations: 326.8 kB / 444.5 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.316e-05/0.1035, allocations: 15.98 kB / 444.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.1035, allocations: 19.98 kB / 444.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1037, allocations: 44.78 kB / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1037, allocations: 0 / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001645/0.1038, allocations: 89.47 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1039, allocations: 4 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1039, allocations: 0 / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1039, allocations: 7.938 kB / 444.7 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.581e-05/0.104, allocations: 12 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.104, allocations: 3.984 kB / 444.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.104, allocations: 4 kB / 444.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.104, allocations: 8.172 kB / 444.7 MB, free: 9.715 MB / 382.1 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.762e-05/0.1041, allocations: 129.8 kB / 444.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1042, allocations: 15.84 kB / 444.8 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.1044, allocations: 94.66 kB / 444.9 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1044, allocations: 4 kB / 444.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1044, allocations: 0 / 444.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1044, allocations: 0 / 444.9 MB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003743/0.1048, allocations: 358.4 kB / 445.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1048, allocations: 3.938 kB / 445.3 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/0.1049, allocations: 15.98 kB / 445.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1049, allocations: 0 / 445.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1049, allocations: 4 kB / 445.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1049, allocations: 3.938 kB / 445.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1049, allocations: 0 / 445.3 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.1051, allocations: 187.3 kB / 445.5 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.1051, allocations: 85.02 kB / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1052, allocations: 0 / 445.6 MB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.399e-05/0.1052, allocations: 7.938 kB / 445.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/0.1053, allocations: 8.203 kB / 445.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1053, allocations: 0 / 445.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.1054, allocations: 192.3 kB / 445.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1054, allocations: 0 / 445.8 MB, free: 8.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002248/0.1057, allocations: 8 kB / 445.8 MB, free: 8.504 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001239/0.1069, allocations: 1.027 MB / 446.8 MB, free: 7.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.1071, allocations: 51.91 kB / 446.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1071, allocations: 0 / 446.9 MB, free: 7.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.657e-05/0.1072, allocations: 27.97 kB / 446.9 MB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1075, allocations: 15.94 kB / 446.9 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1091, allocations: 1.651 MB / 448.6 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1094, allocations: 0.7121 MB / 449.3 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.044e-05/0.1094, allocations: 8 kB / 449.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.1095, allocations: 31.42 kB / 449.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1095, allocations: 4 kB / 449.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01202/0.1215, allocations: 2.649 MB / 452 MB, free: 2.223 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/0.1218, allocations: 241.2 kB / 452.2 MB, free: 1.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/1.93, allocations: 3.938 kB / 452.2 MB, free: 1.957 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.u,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time