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.001092/0.001092, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2268/0.2268, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 78.92 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1039, allocations: 62.44 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003217/0.1072, allocations: 1.622 MB / 481.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009915/0.1082, allocations: 0.5338 MB / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.1083, allocations: 0 / 482.3 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.1086, allocations: 111.7 kB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003286/0.1089, allocations: 127.5 kB / 482.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1092, allocations: 91.75 kB / 482.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1094, allocations: 83.81 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1095, allocations: 23.92 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.243e-05/0.1096, allocations: 39.89 kB / 482.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.1097, allocations: 71.81 kB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1097, allocations: 4 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1098, allocations: 35.98 kB / 482.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.405e-05/0.1099, allocations: 31.86 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.626e-05/0.11, allocations: 39.66 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1102, allocations: 115.9 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1102, allocations: 0 / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1102, allocations: 0 / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1103, allocations: 0 / 483 MB, free: 2.27 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.0005126/0.1108, allocations: 430.8 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.1108, allocations: 12.03 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.1109, allocations: 34.75 kB / 483.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.021e-05/0.1109, allocations: 12.84 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.1111, allocations: 209.6 kB / 483.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1112, allocations: 4.375 kB / 483.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.1112, allocations: 4.375 kB / 483.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1113, allocations: 61.59 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1114, allocations: 3.938 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1114, allocations: 0 / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1114, allocations: 8 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.374e-05/0.1115, allocations: 19.98 kB / 483.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003929/0.1119, allocations: 308.7 kB / 484.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.112, allocations: 38.56 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.1121, allocations: 20.86 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1121, allocations: 4.078 kB / 484.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1121, allocations: 30.56 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.1121, allocations: 0 / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009302/0.1131, allocations: 229 kB / 484.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.447e-05/0.1131, allocations: 55.34 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.1134, allocations: 258.1 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.1134, allocations: 25.7 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.25e-05/0.1135, allocations: 116.2 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.1135, allocations: 31.55 kB / 484.9 MB, free: 184 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1136, allocations: 21.72 kB / 484.9 MB, free: 156 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1137, allocations: 330.8 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.565e-05/0.1138, allocations: 23.98 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.621e-05/0.1139, allocations: 23.98 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.1141, allocations: 64.77 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1141, allocations: 0 / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002065/0.1143, allocations: 105.4 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1143, allocations: 10.5 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.1143, allocations: 3.984 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1143, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.1144, allocations: 16 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1145, allocations: 8.234 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.1145, allocations: 4 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1145, allocations: 432 / 485.5 MB, free: 15.56 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.175e-05/0.1146, allocations: 133.8 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.1147, allocations: 15.81 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.1149, allocations: 134.9 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1149, allocations: 3.984 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.115, allocations: 3.938 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.115, allocations: 0 / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.1154, allocations: 411.3 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1155, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.1155, allocations: 27.94 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1155, allocations: 3.984 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1156, allocations: 0 / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1156, allocations: 4 kB / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1156, allocations: 0 / 486.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1158, allocations: 208.2 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.1159, allocations: 88.95 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.1159, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.116, allocations: 8 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.116, allocations: 7.984 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.116, allocations: 0 / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001511/0.1162, allocations: 188.4 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1162, allocations: 8 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.1165, allocations: 16 kB / 486.8 MB, free: 14.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.001407/0.1179, allocations: 1.089 MB / 487.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002428/0.1181, allocations: 75.92 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1181, allocations: 3.938 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.692e-05/0.1182, allocations: 35.98 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1186, allocations: 15.98 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.1207, allocations: 1.726 MB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.121, allocations: 0.7234 MB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.121, allocations: 16.66 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.1211, allocations: 35.42 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1211, allocations: 0 / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1382/0.2593, allocations: 3.183 MB / 493.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.617, allocations: 1.078 kB / 493.7 MB, free: 7.387 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