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.0007389/0.0007389, allocations: 95 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008119/0.0008118, allocations: 206.1 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.364/1.364, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002762, allocations: 11.98 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 63.55 MB / 483.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002239/0.1448, allocations: 1.338 MB / 484.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1458, allocations: 0.5379 MB / 485 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.422e-05/0.1459, allocations: 4 kB / 485.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1463, allocations: 95.8 kB / 485.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.1466, allocations: 107.7 kB / 485.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.1469, allocations: 103.3 kB / 485.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001811/0.1471, allocations: 83.81 kB / 485.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1472, allocations: 19.98 kB / 485.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.1473, allocations: 35.83 kB / 485.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1474, allocations: 63.81 kB / 485.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.1475, allocations: 4 kB / 485.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1476, allocations: 39.98 kB / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.826e-05/0.1476, allocations: 19.92 kB / 485.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.189e-05/0.1477, allocations: 65.31 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002011/0.1479, allocations: 115.9 kB / 485.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1479, allocations: 0 / 485.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1479, allocations: 0 / 485.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.148, allocations: 0 / 485.8 MB, free: 1.461 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.0005055/0.1485, allocations: 411 kB / 486.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1485, allocations: 12.88 kB / 486.2 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.1486, allocations: 34.75 kB / 486.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.1486, allocations: 20.69 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1488, allocations: 204.8 kB / 486.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1489, allocations: 4.375 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1489, allocations: 4.375 kB / 486.5 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.149, allocations: 69.53 kB / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1491, allocations: 0 / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1491, allocations: 0 / 486.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1491, allocations: 3.984 kB / 486.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.1492, allocations: 31.97 kB / 486.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.1497, allocations: 312.8 kB / 486.9 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.1498, allocations: 50.5 kB / 486.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.1498, allocations: 16.94 kB / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1499, allocations: 12 kB / 487 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1499, allocations: 30.56 kB / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1499, allocations: 0 / 487 MB, free: 96 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009917/0.1509, allocations: 284.9 kB / 487.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.151, allocations: 63.39 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.1513, allocations: 258.1 kB / 487.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1513, allocations: 25.7 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.2e-05/0.1514, allocations: 112.1 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1514, allocations: 23.56 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/0.1514, allocations: 13.72 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1516, allocations: 330.8 kB / 488.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.834e-05/0.1517, allocations: 39.97 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.1518, allocations: 31.97 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.1519, allocations: 76.83 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.152, allocations: 4 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002386/0.1522, allocations: 117.6 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1522, allocations: 8 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1522, allocations: 0 / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.1523, allocations: 3.984 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.1524, allocations: 23.94 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1524, allocations: 3.938 kB / 488.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.1524, allocations: 7.984 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.1525, allocations: 4 kB / 488.4 MB, free: 14.63 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.0001025/0.1526, allocations: 129.8 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.1526, allocations: 15.81 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.1529, allocations: 147 kB / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1529, allocations: 0 / 488.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1529, allocations: 3.938 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.153, allocations: 7.875 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005227/0.1535, allocations: 435.2 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1535, allocations: 3.938 kB / 489.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.302e-05/0.1536, allocations: 27.92 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1536, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1536, allocations: 4 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.1536, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1536, allocations: 480 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.1539, allocations: 228.2 kB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.154, allocations: 92.86 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.154, allocations: 7.984 kB / 489.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.1541, allocations: 12 kB / 489.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.1541, allocations: 4.422 kB / 489.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.1541, allocations: 7.984 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1543, allocations: 188.4 kB / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1543, allocations: 0 / 489.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1546, allocations: 16 kB / 489.7 MB, free: 13.21 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.001565/0.1561, allocations: 1.118 MB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002362/0.1564, allocations: 75.94 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1564, allocations: 4 kB / 490.9 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1565, allocations: 43.92 kB / 490.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1568, allocations: 25.69 kB / 490.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.159, allocations: 1.831 MB / 492.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.1593, allocations: 0.7179 MB / 493.5 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.086e-05/0.1594, allocations: 24.95 kB / 493.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.678e-05/0.1594, allocations: 39.42 kB / 493.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1594, allocations: 0 / 493.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01323/0.1727, allocations: 2.876 MB / 496.4 MB, free: 6.594 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.1729, allocations: 236 kB / 496.7 MB, free: 6.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.023, allocations: 3.75 kB / 496.7 MB, free: 6.336 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