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.001187/0.001187, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001307/0.001307, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.1 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 75.56 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1193, allocations: 62.44 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003363/0.1227, allocations: 1.676 MB / 481.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1238, allocations: 0.5378 MB / 481.6 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.371e-05/0.1239, allocations: 3.938 kB / 481.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1243, allocations: 111.8 kB / 481.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1246, allocations: 107.8 kB / 481.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000329/0.1249, allocations: 95.7 kB / 481.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1251, allocations: 83.75 kB / 482 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1253, allocations: 23.97 kB / 482 MB, free: 3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.126e-05/0.1253, allocations: 35.91 kB / 482.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1255, allocations: 67.75 kB / 482.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1255, allocations: 4 kB / 482.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1256, allocations: 39.98 kB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.579e-05/0.1257, allocations: 31.84 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.1257, allocations: 31.75 kB / 482.2 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.126, allocations: 111.9 kB / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.126, allocations: 0 / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.126, allocations: 0 / 482.3 MB, free: 2.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.126, allocations: 0 / 482.3 MB, free: 2.684 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.0005591/0.1265, allocations: 434.8 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1266, allocations: 8.875 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.096e-05/0.1267, allocations: 42.73 kB / 482.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.1267, allocations: 16.72 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1269, allocations: 208.8 kB / 483 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1269, allocations: 4.375 kB / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.127, allocations: 384 / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.1271, allocations: 57.62 kB / 483.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1272, allocations: 8 kB / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1272, allocations: 0 / 483.1 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1272, allocations: 3.984 kB / 483.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001017/0.1273, allocations: 27.92 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004423/0.1277, allocations: 308.7 kB / 483.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.1279, allocations: 46.56 kB / 483.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.727e-05/0.128, allocations: 24.94 kB / 483.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.128, allocations: 3.938 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.128, allocations: 34.56 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.128, allocations: 0 / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009713/0.129, allocations: 245.4 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.129, allocations: 51.41 kB / 483.8 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.1293, allocations: 259 kB / 484.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.1293, allocations: 29.7 kB / 484.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.1294, allocations: 108.1 kB / 484.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.1294, allocations: 31.55 kB / 484.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1295, allocations: 25.72 kB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1296, allocations: 326.8 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1297, allocations: 27.97 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.568e-05/0.1298, allocations: 27.98 kB / 484.6 MB, free: 148 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.13, allocations: 80.97 kB / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.13, allocations: 0 / 484.7 MB, free: 64 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002677/0.1303, allocations: 117.5 kB / 484.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1303, allocations: 8 kB / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1303, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1303, allocations: 0 / 484.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1305, allocations: 23.92 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1305, allocations: 7.938 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.822e-05/0.1305, allocations: 3.984 kB / 484.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1306, allocations: 7.984 kB / 484.9 MB, free: 15.89 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.0001109/0.1307, allocations: 137.8 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.6e-05/0.1307, allocations: 15.81 kB / 485 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.131, allocations: 123 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.131, allocations: 3.984 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.131, allocations: 7.938 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1311, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.1316, allocations: 427.3 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1316, allocations: 3.938 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.1317, allocations: 19.92 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1317, allocations: 0 / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.1317, allocations: 12 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1318, allocations: 3.938 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1318, allocations: 0 / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.132, allocations: 220.2 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.1321, allocations: 84.95 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.1321, allocations: 4 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.1322, allocations: 4 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.1323, allocations: 3.984 kB / 485.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.1323, allocations: 8 kB / 485.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1324, allocations: 192.4 kB / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1324, allocations: 0 / 486.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1327, allocations: 20 kB / 486.2 MB, free: 14.52 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.001501/0.1342, allocations: 1.103 MB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1345, allocations: 79.89 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1345, allocations: 0 / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.602e-05/0.1346, allocations: 39.97 kB / 487.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1349, allocations: 15.98 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.1372, allocations: 1.806 MB / 489.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.1375, allocations: 0.7257 MB / 489.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.193e-05/0.1376, allocations: 20.95 kB / 489.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.181e-05/0.1377, allocations: 35.42 kB / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1377, allocations: 0 / 490 MB, free: 10.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01442/0.1521, allocations: 3.081 MB / 493.1 MB, free: 7.719 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.1524, allocations: 241.8 kB / 493.3 MB, free: 7.461 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.077, allocations: 0 / 493.3 MB, free: 7.461 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