Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28",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.00113/0.00113, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 203.2 kB / 16.79 MB, free: 6.84 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.363/1.363, allocations: 205.1 MB / 222.6 MB, free: 4.789 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.3087/0.3087, allocations: 43.49 MB / 313.5 MB, free: 8.512 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.001326/0.001326, allocations: 70.56 kB / 382.1 MB, free: 8.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1094, allocations: 57.79 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003033/0.1125, allocations: 1.61 MB / 441.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005774/0.1131, allocations: 319.6 kB / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.957e-05/0.1131, allocations: 0 / 441.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1134, allocations: 95.8 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1135, allocations: 79.78 kB / 442 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.1138, allocations: 71.91 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1139, allocations: 71.77 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.114, allocations: 16.27 kB / 442.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.879e-05/0.114, allocations: 31.89 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1141, allocations: 63.81 kB / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1142, allocations: 0 / 442.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.1142, allocations: 27.92 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.1143, allocations: 23.92 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.1144, allocations: 27.75 kB / 442.3 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.1145, allocations: 95.64 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1145, allocations: 4 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.1145, allocations: 4 kB / 442.4 MB, free: 12.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1145, 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.0004487/0.115, allocations: 418.8 kB / 442.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.115, allocations: 8.031 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.1151, allocations: 30.75 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1151, allocations: 16.84 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.1153, allocations: 211.9 kB / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.1153, allocations: 384 / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1153, allocations: 8.375 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1154, allocations: 49.62 kB / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1155, allocations: 0 / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.1155, allocations: 0 / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1155, allocations: 0 / 443.2 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.611e-05/0.1156, allocations: 23.97 kB / 443.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003208/0.1159, allocations: 288.8 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1161, allocations: 42.56 kB / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.221e-05/0.1162, allocations: 16.94 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1162, allocations: 4 kB / 443.5 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1162, allocations: 30.56 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.1162, allocations: 0 / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004972/0.1167, allocations: 149.1 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1168, allocations: 51.41 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.117, allocations: 238.7 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.117, allocations: 25.7 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.692e-05/0.1171, allocations: 112.1 kB / 444.1 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1171, allocations: 11.81 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.1171, allocations: 29.64 kB / 444.2 MB, free: 10.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1173, allocations: 330.7 kB / 444.5 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.586e-05/0.1173, allocations: 23.92 kB / 444.5 MB, free: 9.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.274e-05/0.1174, allocations: 15.98 kB / 444.5 MB, free: 9.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1175, allocations: 44.83 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1175, allocations: 0 / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001685/0.1177, allocations: 89.48 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1177, allocations: 4 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1177, allocations: 0 / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.1177, allocations: 0 / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.1178, allocations: 16.17 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1178, allocations: 4 kB / 444.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.1179, allocations: 4 kB / 444.7 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.1179, allocations: 7.938 kB / 444.7 MB, free: 9.723 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.671e-05/0.118, allocations: 137.8 kB / 444.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.995e-05/0.118, allocations: 7.906 kB / 444.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.1182, allocations: 98.64 kB / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1182, allocations: 0 / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1182, allocations: 288 / 444.9 MB, free: 9.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1182, allocations: 3.984 kB / 444.9 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.1186, allocations: 362.4 kB / 445.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1186, allocations: 0 / 445.3 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.1187, allocations: 15.97 kB / 445.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1187, allocations: 4 kB / 445.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1187, allocations: 0 / 445.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1187, allocations: 3.938 kB / 445.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1187, allocations: 0 / 445.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1189, allocations: 187.3 kB / 445.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.119, allocations: 85.02 kB / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.119, allocations: 0 / 445.6 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.533e-05/0.1191, allocations: 11.94 kB / 445.6 MB, free: 8.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1191, allocations: 7.984 kB / 445.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1191, allocations: 192 / 445.6 MB, free: 8.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.1193, allocations: 184.3 kB / 445.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1193, allocations: 0 / 445.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.1195, allocations: 16 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.001217/0.1207, allocations: 1.016 MB / 446.8 MB, free: 7.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1209, allocations: 39.95 kB / 446.9 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/0.1209, allocations: 8 kB / 446.9 MB, free: 7.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.121, allocations: 19.98 kB / 446.9 MB, free: 7.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1213, allocations: 23.8 kB / 446.9 MB, free: 7.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1229, allocations: 1.655 MB / 448.6 MB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1232, allocations: 0.719 MB / 449.3 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.595e-05/0.1232, allocations: 4 kB / 449.3 MB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.162e-05/0.1233, allocations: 31.42 kB / 449.3 MB, free: 4.906 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1233, allocations: 4 kB / 449.3 MB, free: 4.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.1346, allocations: 2.658 MB / 452 MB, free: 2.223 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.1348, allocations: 241.2 kB / 452.2 MB, free: 1.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/1.81, allocations: 0 / 452.2 MB, free: 1.961 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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