Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001794, allocations: 99.19 kB / 16.27 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 192 kB / 17.19 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2104/0.2104, allocations: 43.52 MB / 313.9 MB, free: 0.5508 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 68.61 kB / 382.8 MB, free: 56.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1238, allocations: 57.79 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test28): time 0.003133/0.127, allocations: 1.551 MB / 442.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006709/0.1277, allocations: 327.5 kB / 442.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.1279, allocations: 3.938 kB / 442.5 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.1282, allocations: 111.7 kB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1285, allocations: 75.78 kB / 442.7 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1288, allocations: 91.75 kB / 442.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.129, allocations: 71.88 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1292, allocations: 15.98 kB / 442.9 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.877e-05/0.1293, allocations: 35.91 kB / 442.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1294, allocations: 63.81 kB / 443 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1294, allocations: 0 / 443 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1295, allocations: 27.98 kB / 443 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.1296, allocations: 31.84 kB / 443 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.321e-05/0.1296, allocations: 27.75 kB / 443 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.1298, allocations: 91.66 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1298, allocations: 0 / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1298, allocations: 4 kB / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.016e-06/0.1299, allocations: 0 / 443.1 MB, free: 4.297 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005284/0.1304, allocations: 418.8 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1304, allocations: 11.89 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.1305, allocations: 30.75 kB / 443.6 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.1305, allocations: 12.84 kB / 443.6 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.1307, allocations: 207.9 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1307, allocations: 384 / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.1308, allocations: 4.375 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.1309, allocations: 49.62 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.131, allocations: 4 kB / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.131, allocations: 0 / 443.9 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.131, allocations: 4 kB / 443.9 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.857e-05/0.1311, allocations: 23.97 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.1315, allocations: 288.9 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.1318, allocations: 54.48 kB / 444.2 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.808e-05/0.1318, allocations: 16.94 kB / 444.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1319, allocations: 7.938 kB / 444.2 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.1319, allocations: 34.5 kB / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1319, allocations: 0 / 444.3 MB, free: 2.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005539/0.1325, allocations: 165 kB / 444.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.1325, allocations: 55.41 kB / 444.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001636/0.1327, allocations: 246.6 kB / 444.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.1327, allocations: 29.7 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/0.1327, allocations: 104.1 kB / 444.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.1327, allocations: 19.8 kB / 444.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.1328, allocations: 13.72 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.1328, allocations: 330.8 kB / 445.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.43e-05/0.1329, allocations: 23.98 kB / 445.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.185e-05/0.133, allocations: 23.97 kB / 445.3 MB, free: 1.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.1331, allocations: 52.77 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1331, allocations: 4 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001614/0.1333, allocations: 81.48 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1333, allocations: 8 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1333, allocations: 4 kB / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1334, allocations: 0 / 445.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.1334, allocations: 11.98 kB / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1334, allocations: 0 / 445.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.1335, allocations: 11.98 kB / 445.4 MB, free: 1.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.1335, allocations: 7.938 kB / 445.4 MB, free: 1.75 MB / 318.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 (5): * Single equations (assignments): 5 * 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 6.581e-05/0.1336, allocations: 133.7 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.1336, allocations: 7.906 kB / 445.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.1338, allocations: 106.7 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1338, allocations: 0 / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1338, allocations: 0 / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1338, allocations: 3.984 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003577/0.1342, allocations: 366.8 kB / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1342, allocations: 0 / 446 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.1343, allocations: 15.98 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1343, allocations: 4 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1343, allocations: 4 kB / 446.1 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1343, allocations: 3.938 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1343, allocations: 3.938 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.1345, allocations: 187.3 kB / 446.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.613e-05/0.1346, allocations: 85.02 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.1346, allocations: 4 kB / 446.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.417e-05/0.1347, allocations: 7.938 kB / 446.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.1347, allocations: 7.984 kB / 446.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.1347, allocations: 4 kB / 446.4 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1349, allocations: 179.2 kB / 446.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1349, allocations: 3.938 kB / 446.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.1351, allocations: 16 kB / 446.6 MB, free: 0.5273 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001549/0.1367, allocations: 1.013 MB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.137, allocations: 51.91 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.137, allocations: 0 / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.224e-05/0.1371, allocations: 31.98 kB / 447.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.1376, allocations: 25.89 kB / 447.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.1401, allocations: 1.653 MB / 449.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004661/0.1406, allocations: 0.7041 MB / 450 MB, free: 13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.225e-05/0.1407, allocations: 11.98 kB / 450.1 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.171e-05/0.1407, allocations: 31.42 kB / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1408, allocations: 0 / 450.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.1643, allocations: 2.857 MB / 452.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.957, allocations: 19.92 kB / 453 MB, free: 10.06 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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 Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.extrapolation,t_new.n,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[1],t_new.u_max,t_new.u_min,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time