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.00186/0.00186, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.002115/0.002115, allocations: 192 kB / 18.56 MB, free: 4.434 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.386/1.386, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1888/0.1888, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 61.31 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003639/0.1121, allocations: 1.588 MB / 470.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008782/0.113, allocations: 395.3 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.43e-05/0.1131, allocations: 7.938 kB / 471.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1135, allocations: 107.7 kB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002749/0.1138, allocations: 75.78 kB / 471.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1141, allocations: 95.62 kB / 471.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1143, allocations: 75.88 kB / 471.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.1144, allocations: 16.17 kB / 471.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.61e-05/0.1145, allocations: 39.84 kB / 471.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1146, allocations: 63.88 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.1146, allocations: 4 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1147, allocations: 47.91 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.1148, allocations: 27.86 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.1149, allocations: 31.75 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.115, allocations: 111.9 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1151, allocations: 0 / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.1151, allocations: 0 / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1151, allocations: 3.938 kB / 472 MB, free: 11.58 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.0004705/0.1156, allocations: 422.9 kB / 472.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1156, allocations: 8.031 kB / 472.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.1156, allocations: 34.75 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.254e-05/0.1157, allocations: 12.75 kB / 472.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1159, allocations: 208 kB / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1159, allocations: 384 / 472.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1159, allocations: 12.12 kB / 472.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.116, allocations: 45.69 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1161, allocations: 0 / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.1161, allocations: 0 / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1161, allocations: 8 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.435e-05/0.1162, allocations: 27.97 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.1165, allocations: 296.7 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.1167, allocations: 42.56 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.1167, allocations: 16.94 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.1167, allocations: 8 kB / 473.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1168, allocations: 34.56 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1168, allocations: 0 / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008609/0.1177, allocations: 229 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1177, allocations: 55.34 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002164/0.1179, allocations: 242.6 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.1179, allocations: 25.7 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.118, allocations: 112.1 kB / 473.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.1181, allocations: 23.55 kB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.1181, allocations: 21.72 kB / 473.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1182, allocations: 326.8 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.1183, allocations: 23.98 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.1184, allocations: 32.05 kB / 474.2 MB, free: 9.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1185, allocations: 60.83 kB / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1185, allocations: 0 / 474.3 MB, free: 9.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001948/0.1187, allocations: 101.5 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1188, allocations: 8 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1188, allocations: 4 kB / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1188, allocations: 0 / 474.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.1189, allocations: 16.41 kB / 474.4 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1189, allocations: 3.938 kB / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.119, allocations: 8 kB / 474.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.119, allocations: 4 kB / 474.4 MB, free: 8.918 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 9.115e-05/0.1191, allocations: 130.9 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.1191, allocations: 15.81 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/0.1194, allocations: 123 kB / 474.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1194, allocations: 3.984 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.1194, allocations: 7.875 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1194, allocations: 4 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/0.1199, allocations: 411.2 kB / 475.1 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1199, allocations: 3.938 kB / 475.1 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.12, allocations: 15.98 kB / 475.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.12, allocations: 4 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.12, allocations: 0 / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.12, allocations: 0 / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.12, allocations: 0 / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1202, allocations: 204.6 kB / 475.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.1203, allocations: 96.86 kB / 475.4 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1203, allocations: 7.984 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.1204, allocations: 4 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1205, allocations: 7.922 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1205, allocations: 4 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1206, allocations: 183.2 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1206, allocations: 0 / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1209, allocations: 31.98 kB / 475.7 MB, free: 7.578 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.00136/0.1222, allocations: 1.087 MB / 476.8 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.1225, allocations: 63.91 kB / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1225, allocations: 0 / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.1226, allocations: 44.03 kB / 476.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1229, allocations: 15.94 kB / 476.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1245, allocations: 1.723 MB / 478.6 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.1248, allocations: 0.7158 MB / 479.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.1248, allocations: 8.969 kB / 479.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.1249, allocations: 39.42 kB / 479.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1249, allocations: 0 / 479.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.1665, allocations: 3.104 MB / 482.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.63/8.796, allocations: 7.938 kB / 482.5 MB, free: 0.8906 MB / 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