Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2141/0.2141, allocations: 46.11 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 78.95 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1113, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003409/0.1147, allocations: 1.608 MB / 481.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1159, allocations: 0.5455 MB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.245e-05/0.116, allocations: 4 kB / 482.3 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1163, allocations: 107.7 kB / 482.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003626/0.1167, allocations: 119.6 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003599/0.1171, allocations: 115.2 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001794/0.1173, allocations: 87.8 kB / 482.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1174, allocations: 23.92 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.1175, allocations: 43.89 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.1177, allocations: 63.81 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.1177, allocations: 4 kB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1178, allocations: 51.91 kB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.1179, allocations: 27.86 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.186e-05/0.118, allocations: 35.69 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.1183, allocations: 115.9 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1183, allocations: 0 / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1183, allocations: 4 kB / 483.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1183, allocations: 0 / 483.1 MB, free: 2.211 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.0007709/0.1191, allocations: 426.8 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1192, allocations: 8.031 kB / 483.5 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1192, allocations: 30.75 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.711e-05/0.1193, allocations: 12.84 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1195, allocations: 209.6 kB / 483.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1196, allocations: 12.38 kB / 483.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1196, allocations: 4.312 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.1198, allocations: 57.61 kB / 483.8 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1198, allocations: 7.938 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1198, allocations: 4 kB / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1198, allocations: 0 / 483.8 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.1199, allocations: 27.97 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.1204, allocations: 308.7 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.1206, allocations: 50.5 kB / 484.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.1206, allocations: 20.94 kB / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.1207, allocations: 0 / 484.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1207, allocations: 34.56 kB / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1207, allocations: 0 / 484.3 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001018/0.1217, allocations: 244.9 kB / 484.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1218, allocations: 51.41 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.1221, allocations: 262.1 kB / 484.8 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1221, allocations: 29.64 kB / 484.8 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.1222, allocations: 112.1 kB / 484.9 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.1222, allocations: 31.56 kB / 485 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.1223, allocations: 21.7 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1224, allocations: 330.8 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.176e-05/0.1225, allocations: 31.98 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.515e-05/0.1226, allocations: 36.03 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.1228, allocations: 72.81 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1228, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002368/0.123, allocations: 113.5 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1231, allocations: 4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1231, allocations: 4 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.1231, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.1232, allocations: 19.92 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1232, allocations: 7.875 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.1233, allocations: 4 kB / 485.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1233, allocations: 8 kB / 485.6 MB, free: 15.43 MB / 366.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 0.0001/0.1234, allocations: 133.8 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.1235, allocations: 19.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.1238, allocations: 131.7 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1238, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1238, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1238, allocations: 3.984 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.1243, allocations: 435.3 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1243, allocations: 4 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.1244, allocations: 23.92 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1244, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1245, allocations: 4 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1245, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1245, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.1247, allocations: 220.1 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.471e-05/0.1248, allocations: 92.94 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1248, allocations: 4 kB / 486.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.1249, allocations: 4 kB / 486.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.125, allocations: 7.984 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.125, allocations: 4 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.1252, allocations: 192.4 kB / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1252, allocations: 0 / 486.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1255, allocations: 24 kB / 486.9 MB, free: 14.04 MB / 366.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.00161/0.1271, allocations: 1.099 MB / 488 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000237/0.1273, allocations: 71.95 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1273, allocations: 4 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.874e-05/0.1275, allocations: 43.91 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1278, allocations: 12 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1299, allocations: 1.777 MB / 489.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.1302, allocations: 0.7234 MB / 490.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.791e-05/0.1303, allocations: 24.95 kB / 490.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.586e-05/0.1304, allocations: 39.42 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1304, allocations: 0 / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7827/0.9131, allocations: 3.231 MB / 493.9 MB, free: 7.094 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.402/8.315, allocations: 12.89 kB / 493.9 MB, free: 7.086 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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,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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,t_new.nHeaderLines,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time