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.001431/0.001431, allocations: 97.42 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001159/0.001159, allocations: 210.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.7 MB / 246.8 MB, free: 9.555 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1806/0.1806, allocations: 46.18 MB / 345.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002493/0.0002493, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 63.56 MB / 483.2 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002357/0.1181, allocations: 1.334 MB / 484.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1193, allocations: 0.5379 MB / 485 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.266e-05/0.1194, allocations: 0 / 485 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003748/0.1198, allocations: 103.8 kB / 485.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003179/0.1201, allocations: 103.7 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.1205, allocations: 99.81 kB / 485.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.1207, allocations: 83.86 kB / 485.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1208, allocations: 16 kB / 485.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.79e-05/0.1209, allocations: 39.77 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.1211, allocations: 63.81 kB / 485.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1211, allocations: 4 kB / 485.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1212, allocations: 39.98 kB / 485.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.1213, allocations: 19.92 kB / 485.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.1214, allocations: 61.38 kB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1216, allocations: 111.8 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1217, allocations: 0 / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1217, allocations: 0 / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1217, allocations: 0 / 485.8 MB, free: 1.406 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.0006313/0.1223, allocations: 419 kB / 486.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.1224, allocations: 12.88 kB / 486.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.064e-05/0.1225, allocations: 30.75 kB / 486.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.1225, allocations: 20.75 kB / 486.3 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1228, allocations: 200.8 kB / 486.4 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1228, allocations: 4.375 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.1228, allocations: 4.375 kB / 486.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.123, allocations: 69.55 kB / 486.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.123, allocations: 0 / 486.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.123, allocations: 0 / 486.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1231, allocations: 0 / 486.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1232, allocations: 31.97 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.1237, allocations: 316.7 kB / 486.9 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.1239, allocations: 50.5 kB / 486.9 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.898e-05/0.1239, allocations: 16.94 kB / 486.9 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.127e-05/0.124, allocations: 4 kB / 486.9 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.124, allocations: 38.5 kB / 487 MB, free: 40 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.124, allocations: 4 kB / 487 MB, free: 36 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001042/0.1251, allocations: 280.8 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.1251, allocations: 55.41 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.1254, allocations: 262.1 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1254, allocations: 29.7 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.114e-05/0.1255, allocations: 112.1 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.1256, allocations: 31.61 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1256, allocations: 13.72 kB / 487.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1258, allocations: 326.8 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.1259, allocations: 27.98 kB / 488.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.126, allocations: 43.91 kB / 488.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1262, allocations: 80.81 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1262, allocations: 0 / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002453/0.1264, allocations: 121.6 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1264, allocations: 10.34 kB / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1265, allocations: 0 / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1265, allocations: 0 / 488.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.1266, allocations: 23.92 kB / 488.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1266, allocations: 3.938 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.528e-05/0.1267, allocations: 4 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1267, allocations: 8 kB / 488.4 MB, free: 14.57 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.0001087/0.1268, allocations: 129.8 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1268, allocations: 15.81 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.1272, allocations: 147 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1272, allocations: 4 kB / 488.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1272, allocations: 3.938 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1272, allocations: 3.938 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005674/0.1278, allocations: 431.6 kB / 489.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1278, allocations: 4.031 kB / 489.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.1279, allocations: 27.86 kB / 489.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1279, allocations: 4 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1279, allocations: 4 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1279, allocations: 0 / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1279, allocations: 0 / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1282, allocations: 228.3 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.1283, allocations: 96.84 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1283, allocations: 0 / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.738e-05/0.1284, allocations: 8 kB / 489.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.1284, allocations: 11.92 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1285, allocations: 8 kB / 489.5 MB, free: 13.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001687/0.1286, allocations: 188.4 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1286, allocations: 3.938 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1289, allocations: 20 kB / 489.7 MB, free: 13.15 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.00166/0.1306, allocations: 1.101 MB / 490.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.1308, allocations: 79.89 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1308, allocations: 0 / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.131, allocations: 51.84 kB / 490.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1313, allocations: 24.05 kB / 490.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.1334, allocations: 1.834 MB / 492.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.1337, allocations: 0.7179 MB / 493.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.853e-05/0.1338, allocations: 24.94 kB / 493.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.439e-05/0.1339, allocations: 35.42 kB / 493.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1339, allocations: 0 / 493.6 MB, free: 9.309 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/0.1463, allocations: 2.884 MB / 496.4 MB, free: 6.535 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002819/0.1467, allocations: 232 kB / 496.7 MB, free: 6.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.924, allocations: 7.938 kB / 496.7 MB, free: 6.273 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