Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.001083/0.001083, allocations: 117 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.4 MB / 246.4 MB, free: 10.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2241/0.2241, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 76.44 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1153, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003426/0.1188, allocations: 1.675 MB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.1198, allocations: 0.53 MB / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.027e-05/0.1198, allocations: 0 / 481.8 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.1202, allocations: 107.8 kB / 481.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003033/0.1205, allocations: 111.7 kB / 482 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.1208, allocations: 82.97 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.121, allocations: 83.86 kB / 482.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1211, allocations: 15.94 kB / 482.2 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.1212, allocations: 43.83 kB / 482.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1214, allocations: 71.8 kB / 482.3 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1214, allocations: 8 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1216, allocations: 43.98 kB / 482.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.1217, allocations: 23.92 kB / 482.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.73e-05/0.1218, allocations: 39.67 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1221, allocations: 115.8 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1222, allocations: 0 / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1222, allocations: 0 / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.812e-06/0.1222, allocations: 0 / 482.5 MB, free: 2.562 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.0006505/0.1228, allocations: 426.8 kB / 483 MB, free: 2.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.1229, allocations: 16.03 kB / 483 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.591e-05/0.1229, allocations: 30.75 kB / 483 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.123, allocations: 12.84 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1232, allocations: 209.6 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1233, allocations: 4.375 kB / 483.2 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.1233, allocations: 8.375 kB / 483.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.1235, allocations: 61.53 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.834e-05/0.1236, allocations: 4 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.1236, allocations: 0 / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.1236, allocations: 4 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1238, allocations: 31.91 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.1243, allocations: 300.7 kB / 483.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.1244, allocations: 42.5 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.1245, allocations: 20.94 kB / 483.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.1246, allocations: 4 kB / 483.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1246, allocations: 30.56 kB / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.1246, allocations: 0 / 483.7 MB, free: 1.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00123/0.1259, allocations: 233.5 kB / 483.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.1259, allocations: 55.34 kB / 484 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1263, allocations: 258.1 kB / 484.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.1263, allocations: 29.7 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.1264, allocations: 108.1 kB / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.1265, allocations: 27.55 kB / 484.4 MB, free: 484 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.1266, allocations: 21.72 kB / 484.4 MB, free: 456 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1267, allocations: 326.8 kB / 484.8 MB, free: 120 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.1268, allocations: 27.92 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.127, allocations: 31.97 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1272, allocations: 56.84 kB / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1272, allocations: 0 / 484.9 MB, free: 0 / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003302/0.1275, allocations: 101.5 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1276, allocations: 4 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1276, allocations: 4 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.1276, allocations: 0 / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1278, allocations: 23.92 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1278, allocations: 3.938 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.555e-05/0.1279, allocations: 11.98 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1279, allocations: 3.984 kB / 485 MB, free: 15.84 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.0001313/0.128, allocations: 129.8 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.1281, allocations: 15.8 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.1285, allocations: 127.3 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1285, allocations: 0 / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.1286, allocations: 7.875 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1286, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007403/0.1293, allocations: 415.2 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1293, allocations: 0 / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1295, allocations: 23.92 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1295, allocations: 0 / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.1295, allocations: 4 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1295, allocations: 4 kB / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1295, allocations: 0 / 485.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003632/0.1299, allocations: 212.2 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.752e-05/0.13, allocations: 88.95 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.13, allocations: 7.922 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.1301, allocations: 4 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.1302, allocations: 11.98 kB / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1302, allocations: 0 / 486 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.1305, allocations: 188.4 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1305, allocations: 0 / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000435/0.1309, allocations: 28 kB / 486.3 MB, free: 14.49 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.002317/0.1333, allocations: 1.086 MB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003423/0.1336, allocations: 67.94 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1336, allocations: 0 / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.1338, allocations: 35.92 kB / 487.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.1344, allocations: 23.98 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.1373, allocations: 1.765 MB / 489.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1377, allocations: 0.7252 MB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.746e-05/0.1377, allocations: 8.672 kB / 490 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.1378, allocations: 43.41 kB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1379, allocations: 0 / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.1585, allocations: 3.067 MB / 493.1 MB, free: 7.785 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/0.1589, allocations: 244.8 kB / 493.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/2.002, allocations: 7.938 kB / 493.3 MB, free: 7.512 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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(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