Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32",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.001289/0.001289, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001158/0.001158, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2712/0.2712, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 59.16 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1293, allocations: 60.82 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.00416/0.1335, allocations: 1.575 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009647/0.1345, allocations: 419.2 kB / 471.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1346, allocations: 7.938 kB / 471.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.135, allocations: 107.7 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1354, allocations: 79.78 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.1358, allocations: 115.2 kB / 471.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.136, allocations: 79.86 kB / 471.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1361, allocations: 12.19 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.662e-05/0.1362, allocations: 43.83 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.1364, allocations: 63.88 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1364, allocations: 3.938 kB / 471.8 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.1365, allocations: 51.91 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.1366, allocations: 27.92 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.1367, allocations: 27.75 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.137, allocations: 111.9 kB / 472.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.137, allocations: 7.875 kB / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.137, allocations: 0 / 472.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.137, allocations: 0 / 472.1 MB, free: 11.54 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.0007704/0.1378, allocations: 417.9 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.1378, allocations: 8.031 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.459e-05/0.1379, allocations: 34.73 kB / 472.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.887e-05/0.138, allocations: 20.75 kB / 472.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1383, allocations: 204 kB / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1383, allocations: 384 / 472.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.1384, allocations: 12.12 kB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.1386, allocations: 49.67 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1386, allocations: 0 / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1386, allocations: 4 kB / 472.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1386, allocations: 4 kB / 472.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001214/0.1388, allocations: 23.97 kB / 472.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.1393, allocations: 312.7 kB / 473.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.1395, allocations: 42.56 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1395, allocations: 16.95 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.1396, allocations: 4.062 kB / 473.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.1396, allocations: 38.56 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.1396, allocations: 0 / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000988/0.1406, allocations: 245.2 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.1407, allocations: 67.33 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.141, allocations: 238.7 kB / 473.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.141, allocations: 25.7 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1411, allocations: 104.1 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1411, allocations: 27.56 kB / 473.9 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.1412, allocations: 25.7 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1413, allocations: 322.8 kB / 474.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.577e-05/0.1414, allocations: 27.98 kB / 474.3 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.1415, allocations: 35.97 kB / 474.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.1416, allocations: 72.83 kB / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1416, allocations: 0 / 474.4 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.1419, allocations: 117.5 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1419, allocations: 4 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1419, allocations: 4 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.1419, allocations: 3.984 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.142, allocations: 16 kB / 474.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1421, allocations: 3.938 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.009e-05/0.1421, allocations: 11.98 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1422, allocations: 4 kB / 474.6 MB, free: 8.809 MB / 350.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.0001204/0.1423, allocations: 130.9 kB / 474.7 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.1423, allocations: 19.75 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.1426, allocations: 135 kB / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1426, allocations: 0 / 474.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1427, allocations: 3.938 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1427, allocations: 0 / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.1432, allocations: 427.6 kB / 475.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1433, allocations: 3.938 kB / 475.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.1433, allocations: 16.03 kB / 475.3 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1434, allocations: 3.984 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.1434, allocations: 4 kB / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.1434, allocations: 0 / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1434, allocations: 0 / 475.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.1437, allocations: 212.3 kB / 475.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.1437, allocations: 96.86 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1438, allocations: 7.938 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1438, allocations: 7.984 kB / 475.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.1439, allocations: 4 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.1439, allocations: 7.984 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.1441, allocations: 183.2 kB / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1441, allocations: 0 / 475.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000276/0.1444, allocations: 19.98 kB / 475.8 MB, free: 7.445 MB / 350.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.001666/0.146, allocations: 1.097 MB / 476.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.1464, allocations: 75.89 kB / 477 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1464, allocations: 0 / 477 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.1465, allocations: 39.97 kB / 477 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.147, allocations: 23.86 kB / 477 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.1498, allocations: 1.774 MB / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.1503, allocations: 0.7119 MB / 479.5 MB, free: 3.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001054/0.1504, allocations: 16.95 kB / 479.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.1505, allocations: 39.42 kB / 479.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1505, allocations: 0 / 479.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.1757, allocations: 3.163 MB / 482.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/7.733, allocations: 3.094 kB / 482.8 MB, free: 0.6172 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(d2_t_new.u),der(d_t_new.u),der(der(t_new.u[1])),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