Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_4_0_0_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.0009869/0.000987, allocations: 91.14 kB / 17.35 MB, free: 6.027 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.0009071/0.0009072, allocations: 178.5 kB / 18.26 MB, free: 5.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 223.3 MB / 242.3 MB, free: 80 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1853/0.1853, allocations: 44.25 MB / 337.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 18.08 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09741, allocations: 61.92 MB / 472.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001922/0.09937, allocations: 1.294 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.1, allocations: 399.3 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.641e-05/0.1001, allocations: 0 / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1004, allocations: 103.8 kB / 474.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1005, allocations: 71.78 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002167/0.1007, allocations: 83.78 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1009, allocations: 79.8 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.101, allocations: 16.19 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.077e-05/0.101, allocations: 31.84 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.1011, allocations: 59.88 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1012, allocations: 0 / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.89e-05/0.1012, allocations: 43.98 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.1013, allocations: 23.84 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.325e-05/0.1013, allocations: 57.45 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1015, allocations: 111.8 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1015, allocations: 0 / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1015, allocations: 3.938 kB / 474.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1015, allocations: 0 / 474.7 MB, free: 10.87 MB / 350.1 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.0004047/0.1019, allocations: 403.1 kB / 475.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.102, allocations: 8.031 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.084e-05/0.102, allocations: 34.73 kB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.587e-05/0.102, allocations: 12.84 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.1022, allocations: 212.5 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1022, allocations: 384 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.1023, allocations: 8.125 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1024, allocations: 65.59 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1024, allocations: 0 / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.1024, allocations: 0 / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1024, allocations: 4 kB / 475.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.1025, allocations: 23.98 kB / 475.5 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1029, allocations: 308.7 kB / 475.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.103, allocations: 54.5 kB / 475.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.103, allocations: 12.86 kB / 475.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.1031, allocations: 0 / 475.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.1031, allocations: 38.64 kB / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1031, allocations: 0 / 475.9 MB, free: 9.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007972/0.1039, allocations: 253 kB / 476.1 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.1039, allocations: 63.28 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.1041, allocations: 238.7 kB / 476.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.1042, allocations: 29.7 kB / 476.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.1042, allocations: 108.1 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1043, allocations: 27.56 kB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.1043, allocations: 17.72 kB / 476.6 MB, free: 8.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.887e-05/0.1044, allocations: 326.8 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.1045, allocations: 31.92 kB / 476.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.626e-05/0.1045, allocations: 27.98 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.1047, allocations: 68.83 kB / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1047, allocations: 0 / 477 MB, free: 8.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001926/0.1049, allocations: 109.6 kB / 477.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1049, allocations: 4 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1049, allocations: 0 / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.1049, allocations: 0 / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.105, allocations: 23.92 kB / 477.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.105, allocations: 3.938 kB / 477.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.1051, allocations: 11.98 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1051, allocations: 0 / 477.2 MB, free: 8.148 MB / 350.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 (8): * Single equations (assignments): 8 * 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.009e-05/0.1052, allocations: 133.8 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.1052, allocations: 15.81 kB / 477.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.1055, allocations: 127.3 kB / 477.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1055, allocations: 8.406 kB / 477.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1055, allocations: 3.938 kB / 477.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1055, allocations: 4 kB / 477.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004349/0.1059, allocations: 411.2 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1059, allocations: 3.938 kB / 477.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.106, allocations: 24.02 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.106, allocations: 3.984 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.106, allocations: 4 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.106, allocations: 0 / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1061, allocations: 0 / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.1063, allocations: 216.2 kB / 478.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.1063, allocations: 92.86 kB / 478.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.1064, allocations: 3.938 kB / 478.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.1064, allocations: 27.86 kB / 478.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.1065, allocations: 0 / 478.2 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.1065, allocations: 4 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001331/0.1066, allocations: 192.3 kB / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1066, allocations: 0 / 478.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1069, allocations: 20 kB / 478.5 MB, free: 6.773 MB / 350.1 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 (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.001234/0.1081, allocations: 1.079 MB / 479.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001864/0.1083, allocations: 75.95 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1083, allocations: 0 / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.1084, allocations: 43.91 kB / 479.7 MB, free: 5.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1087, allocations: 15.98 kB / 479.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/0.1103, allocations: 1.77 MB / 481.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.1105, allocations: 0.72 MB / 482.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.244e-05/0.1106, allocations: 8.656 kB / 482.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.1106, allocations: 35.42 kB / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1107, allocations: 96 / 482.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01144/0.1221, allocations: 2.765 MB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.1223, allocations: 232.1 kB / 485.2 MB, free: 172 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.725/1.847, allocations: 0 / 485.2 MB, free: 172 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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,d2_t_new.y Variables in the result:clock.offset,clock.startTime,clock.y,d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),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