Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, 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.001262/0.001262, 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.32/1.32, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2064/0.2064, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 75.12 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 62.45 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003136/0.1165, allocations: 1.616 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009885/0.1175, allocations: 0.5494 MB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.1176, allocations: 0 / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.1179, allocations: 107.7 kB / 482.4 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.1183, allocations: 119.6 kB / 482.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1187, allocations: 114.8 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1189, allocations: 87.86 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.119, allocations: 12 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.166e-05/0.1191, allocations: 51.77 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1192, allocations: 63.81 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1193, allocations: 4 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1194, allocations: 43.98 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.18e-05/0.1194, allocations: 31.91 kB / 482.9 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.444e-05/0.1195, allocations: 31.69 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1197, allocations: 115.9 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1197, allocations: 4 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1197, allocations: 0 / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1197, allocations: 0 / 483.1 MB, free: 2.246 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.0004996/0.1202, allocations: 434.7 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1203, allocations: 8.031 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.1203, allocations: 34.75 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.1204, allocations: 12.84 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.1206, allocations: 205.6 kB / 483.7 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1206, allocations: 4.375 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.1207, allocations: 384 / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1208, allocations: 61.61 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.1208, allocations: 0 / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1208, allocations: 0 / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1209, allocations: 7.938 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.121, allocations: 35.89 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.1214, allocations: 308.7 kB / 484.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.1215, allocations: 42.56 kB / 484.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1216, allocations: 28.88 kB / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1216, allocations: 0 / 484.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1217, allocations: 30.56 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1217, allocations: 0 / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009643/0.1227, allocations: 249.3 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.1227, allocations: 51.41 kB / 484.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1229, allocations: 254.1 kB / 484.8 MB, free: 320 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.123, allocations: 29.69 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.515e-05/0.1231, allocations: 112.1 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.1231, allocations: 35.62 kB / 485 MB, free: 132 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.1231, allocations: 21.66 kB / 485 MB, free: 104 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1233, allocations: 334.8 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.1234, allocations: 31.98 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.1235, allocations: 31.97 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1236, allocations: 72.77 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1237, allocations: 0 / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002372/0.1239, allocations: 109.6 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1239, allocations: 15.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1239, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.124, allocations: 3.984 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1241, allocations: 15.98 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1241, allocations: 3.938 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.1241, allocations: 8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.1242, allocations: 4 kB / 485.6 MB, free: 15.46 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.0001076/0.1243, allocations: 133.8 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.1243, allocations: 19.81 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003793/0.1247, allocations: 135 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1247, allocations: 3.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1247, allocations: 3.938 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1247, allocations: 4 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.1253, allocations: 423.3 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1253, allocations: 4 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.374e-05/0.1254, allocations: 23.86 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1254, allocations: 0 / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1254, allocations: 4 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1254, allocations: 3.984 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1254, allocations: 480 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003014/0.1257, allocations: 216.2 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.1258, allocations: 92.95 kB / 486.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1259, allocations: 4 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1259, allocations: 3.984 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.126, allocations: 4 kB / 486.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.126, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001651/0.1262, allocations: 196.4 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.453e-06/0.1262, allocations: 0 / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1264, allocations: 27.92 kB / 486.9 MB, free: 14.07 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.00147/0.1279, allocations: 1.093 MB / 488 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.1282, allocations: 79.88 kB / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1282, allocations: 0 / 488.1 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.794e-05/0.1283, allocations: 47.91 kB / 488.1 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.1287, allocations: 19.55 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.1308, allocations: 1.777 MB / 489.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.1311, allocations: 0.7156 MB / 490.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.469e-05/0.1312, allocations: 24.95 kB / 490.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.1313, allocations: 47.41 kB / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1313, allocations: 0 / 490.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0676/0.1989, allocations: 3.235 MB / 493.9 MB, free: 7.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/7.905, allocations: 4.453 kB / 493.9 MB, free: 7.121 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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(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