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.0008725/0.0008726, allocations: 97.12 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.0009874/0.0009874, allocations: 206.3 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.343/1.343, allocations: 227.7 MB / 246.8 MB, free: 9.699 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1859/0.1859, allocations: 46.18 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002642, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 63.55 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001769/0.1194, allocations: 1.338 MB / 484.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007911/0.1202, allocations: 0.5223 MB / 485 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.525e-05/0.1203, allocations: 0 / 485 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.1205, allocations: 99.78 kB / 485.1 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.1207, allocations: 111.7 kB / 485.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1209, allocations: 79.84 kB / 485.3 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1211, allocations: 75.88 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.331e-05/0.1212, allocations: 15.98 kB / 485.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.431e-05/0.1212, allocations: 47.78 kB / 485.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.1213, allocations: 59.81 kB / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.1213, allocations: 0 / 485.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.74e-05/0.1214, allocations: 43.98 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.1215, allocations: 23.91 kB / 485.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.1215, allocations: 61.39 kB / 485.6 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1217, allocations: 103.9 kB / 485.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1217, allocations: 7.938 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1217, allocations: 3.938 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.1217, allocations: 0 / 485.8 MB, free: 1.449 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.0003978/0.1221, allocations: 415 kB / 486.2 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1222, allocations: 8.875 kB / 486.2 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.1222, allocations: 34.75 kB / 486.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.866e-05/0.1222, allocations: 20.75 kB / 486.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1224, allocations: 208.8 kB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-06/0.1224, allocations: 384 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1224, allocations: 4.375 kB / 486.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1226, allocations: 65.55 kB / 486.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1226, allocations: 4 kB / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.1226, allocations: 0 / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1226, allocations: 0 / 486.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.169e-05/0.1227, allocations: 31.92 kB / 486.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.123, allocations: 296.8 kB / 486.8 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.1231, allocations: 58.48 kB / 486.9 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.1232, allocations: 16.94 kB / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.1232, allocations: 0 / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1232, allocations: 38.56 kB / 486.9 MB, free: 100 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1232, allocations: 0 / 486.9 MB, free: 100 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008269/0.1241, allocations: 264.9 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.1241, allocations: 55.41 kB / 487.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.1243, allocations: 258.1 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1244, allocations: 25.7 kB / 487.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.1244, allocations: 112.1 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1245, allocations: 31.56 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1245, allocations: 9.719 kB / 487.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.1246, allocations: 334.8 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.1247, allocations: 23.98 kB / 488 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.1247, allocations: 31.92 kB / 488.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1249, allocations: 72.83 kB / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1249, allocations: 0 / 488.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002013/0.1251, allocations: 105.6 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1251, allocations: 11.98 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1252, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.1252, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.1253, allocations: 19.98 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1253, allocations: 11.88 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1253, allocations: 8 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.1253, allocations: 0 / 488.3 MB, free: 14.69 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.304e-05/0.1254, allocations: 137.8 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.1255, allocations: 11.81 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.1257, allocations: 127.3 kB / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1258, allocations: 0 / 488.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1258, allocations: 7.875 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1258, allocations: 0 / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.1263, allocations: 435.3 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1263, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-05/0.1264, allocations: 31.89 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1264, allocations: 0 / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1264, allocations: 4 kB / 489 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1264, allocations: 4 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1264, allocations: 0 / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1266, allocations: 212.3 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.1267, allocations: 92.86 kB / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1267, allocations: 0 / 489.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.1268, allocations: 15.98 kB / 489.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.1268, allocations: 7.938 kB / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.1268, allocations: 0 / 489.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.127, allocations: 188.4 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.127, allocations: 4 kB / 489.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002384/0.1272, allocations: 27.98 kB / 489.6 MB, free: 13.3 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.001356/0.1286, allocations: 1.091 MB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.1288, allocations: 75.89 kB / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1288, allocations: 0 / 490.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.1289, allocations: 47.91 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.1292, allocations: 12 kB / 490.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.131, allocations: 1.784 MB / 492.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1313, allocations: 0.7179 MB / 493.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.672e-05/0.1314, allocations: 16.64 kB / 493.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.1314, allocations: 35.42 kB / 493.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1314, allocations: 0 / 493.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.1443, allocations: 2.843 MB / 496.2 MB, free: 6.812 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.1446, allocations: 236.1 kB / 496.4 MB, free: 6.555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/1.951, allocations: 3.938 kB / 496.4 MB, free: 6.551 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