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.001375/0.001375, allocations: 104.1 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 209.8 kB / 18.26 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2102/0.2102, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 76.34 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 62.43 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00306/0.1112, allocations: 1.684 MB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.1122, allocations: 0.5339 MB / 481.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.193e-05/0.1123, allocations: 3.938 kB / 481.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.1126, allocations: 99.8 kB / 481.9 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1129, allocations: 107.8 kB / 482 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1132, allocations: 79.84 kB / 482.1 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1134, allocations: 87.8 kB / 482.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.981e-05/0.1135, allocations: 19.98 kB / 482.2 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.868e-05/0.1136, allocations: 43.83 kB / 482.2 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1137, allocations: 75.75 kB / 482.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1137, allocations: 0 / 482.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1139, allocations: 47.98 kB / 482.4 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.1139, allocations: 19.92 kB / 482.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.114, allocations: 35.69 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.1142, allocations: 111.9 kB / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1142, allocations: 0 / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1142, allocations: 0 / 482.5 MB, free: 2.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1142, allocations: 0 / 482.5 MB, free: 2.566 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.0004638/0.1147, allocations: 434.8 kB / 482.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1147, allocations: 19.97 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.1148, allocations: 34.73 kB / 483 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.1148, allocations: 8.844 kB / 483 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.115, allocations: 209.6 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.115, allocations: 384 / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.115, allocations: 8.375 kB / 483.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1152, allocations: 49.62 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1152, allocations: 0 / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1152, allocations: 0 / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1152, allocations: 7.938 kB / 483.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1153, allocations: 39.89 kB / 483.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003326/0.1157, allocations: 292.7 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1158, allocations: 42.66 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/0.1158, allocations: 24.83 kB / 483.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1159, allocations: 11.94 kB / 483.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1159, allocations: 34.5 kB / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1159, allocations: 0 / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008984/0.1168, allocations: 229 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1169, allocations: 55.41 kB / 484 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002456/0.1171, allocations: 250.1 kB / 484.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.1171, allocations: 29.7 kB / 484.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.1172, allocations: 108.1 kB / 484.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.1172, allocations: 35.61 kB / 484.4 MB, free: 480 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1173, allocations: 21.72 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.515e-05/0.1174, allocations: 326.8 kB / 484.7 MB, free: 116 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.1175, allocations: 23.98 kB / 484.8 MB, free: 92 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.1176, allocations: 32.03 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.1177, allocations: 60.88 kB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.1177, allocations: 0 / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002136/0.118, allocations: 101.4 kB / 485 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.118, allocations: 8 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.118, allocations: 4 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.118, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1181, allocations: 15.98 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1182, allocations: 7.938 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.1182, allocations: 7.984 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1182, allocations: 8 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.0001033/0.1183, allocations: 125.8 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1184, allocations: 19.75 kB / 485.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1187, allocations: 127 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1187, allocations: 3.938 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1187, allocations: 3.938 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1187, allocations: 0 / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.1192, allocations: 407.3 kB / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1192, allocations: 0 / 485.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.216e-05/0.1193, allocations: 19.92 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1193, allocations: 4 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.1193, allocations: 0 / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.1194, allocations: 3.938 kB / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1194, allocations: 0 / 485.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1196, allocations: 216.6 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.1197, allocations: 96.94 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.1197, allocations: 0 / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.1198, allocations: 4 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.1198, allocations: 7.984 kB / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1198, allocations: 0 / 486 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.12, allocations: 196.3 kB / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.12, allocations: 0 / 486.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1203, allocations: 24 kB / 486.2 MB, free: 14.5 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.00142/0.1217, allocations: 1.088 MB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.1219, allocations: 71.89 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.122, allocations: 3.938 kB / 487.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.394e-05/0.1221, allocations: 35.98 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.0003887/0.1225, allocations: 22.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.001884/0.1243, allocations: 1.761 MB / 489.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.1246, allocations: 0.7136 MB / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.883e-05/0.1247, allocations: 24.95 kB / 490 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.1248, allocations: 39.42 kB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1248, allocations: 0 / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01656/0.1413, allocations: 3.076 MB / 493.1 MB, free: 7.777 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.1415, allocations: 241.5 kB / 493.3 MB, free: 7.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.057, allocations: 7.938 kB / 493.3 MB, free: 7.512 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