Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001264/0.001264, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2503/0.2503, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001539, allocations: 71.02 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 62.45 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.003426/0.1281, allocations: 1.614 MB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1292, allocations: 0.5338 MB / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/0.1293, allocations: 0 / 482.3 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1296, allocations: 111.7 kB / 482.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.1299, allocations: 119.6 kB / 482.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1302, allocations: 95.69 kB / 482.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1304, allocations: 79.88 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.1305, allocations: 19.98 kB / 482.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.651e-05/0.1306, allocations: 51.77 kB / 482.7 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1308, allocations: 63.81 kB / 482.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1308, allocations: 4 kB / 482.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.1309, allocations: 43.98 kB / 482.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.325e-05/0.131, allocations: 23.92 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.155e-05/0.1311, allocations: 39.66 kB / 482.9 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1313, allocations: 111.9 kB / 483 MB, free: 2.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1313, allocations: 3.984 kB / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1313, allocations: 0 / 483 MB, free: 2.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1313, allocations: 0 / 483 MB, free: 2.25 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.0004852/0.1318, allocations: 430.7 kB / 483.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1319, allocations: 8.031 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1319, allocations: 38.73 kB / 483.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.132, allocations: 16.84 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1322, allocations: 213.6 kB / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1322, allocations: 384 / 483.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.1322, allocations: 4.375 kB / 483.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1324, allocations: 53.62 kB / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1324, allocations: 0 / 483.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.1324, allocations: 3.984 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1324, allocations: 4 kB / 483.8 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.649e-05/0.1325, allocations: 23.92 kB / 483.8 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.1329, allocations: 312.7 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.133, allocations: 42.56 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.1331, allocations: 16.8 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1331, allocations: 4 kB / 484.2 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1331, allocations: 34.66 kB / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1331, allocations: 0 / 484.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008482/0.134, allocations: 229 kB / 484.4 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.134, allocations: 59.41 kB / 484.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.1343, allocations: 254.1 kB / 484.7 MB, free: 344 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1343, allocations: 29.64 kB / 484.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1344, allocations: 112.1 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.961e-05/0.1344, allocations: 31.55 kB / 484.9 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.1344, allocations: 21.72 kB / 484.9 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.1346, allocations: 322.8 kB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.1346, allocations: 31.97 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.537e-05/0.1347, allocations: 23.98 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1349, allocations: 68.98 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1349, allocations: 0 / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002068/0.1351, allocations: 101.5 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1351, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1351, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1351, allocations: 0 / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.1352, allocations: 23.98 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1353, allocations: 3.938 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.326e-05/0.1353, allocations: 7.984 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1353, allocations: 0 / 485.5 MB, free: 15.53 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 9.905e-05/0.1354, allocations: 137.8 kB / 485.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.1355, allocations: 11.81 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.1357, allocations: 127 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.1358, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1358, allocations: 3.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1358, allocations: 4.359 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.1362, allocations: 407.3 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1362, allocations: 0 / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.1363, allocations: 31.89 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1363, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1363, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.1364, allocations: 7.984 kB / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1364, allocations: 0 / 486.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.1366, allocations: 200.2 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.1367, allocations: 96.94 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.1367, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.1368, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.1368, allocations: 7.984 kB / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.1368, allocations: 0 / 486.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001402/0.137, allocations: 196.4 kB / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.322e-06/0.137, allocations: 0 / 486.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1372, allocations: 15.94 kB / 486.7 MB, free: 14.19 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.001537/0.1388, allocations: 1.104 MB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.139, allocations: 79.88 kB / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.139, allocations: 0 / 487.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.1391, allocations: 35.92 kB / 488 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.1395, allocations: 19.36 kB / 488 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1415, allocations: 1.73 MB / 489.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1418, allocations: 0.7156 MB / 490.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.1418, allocations: 16.95 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.1419, allocations: 35.42 kB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1419, allocations: 4 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.1598, allocations: 3.179 MB / 493.7 MB, free: 7.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.64, allocations: 9.062 kB / 493.7 MB, free: 7.355 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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(clock.y),der(d2_t_new.u),der(d_t_new.u),der(der(clock.y)),t_new.columns[1],t_new.extrapolation,t_new.nHeaderLines,t_new.nout,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,t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time