Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001165/0.001165, allocations: 109 kB / 17.33 MB, free: 6.023 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.001247/0.001247, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.478/1.478, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2355/0.2355, allocations: 44.17 MB / 336.2 MB, free: 2.883 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 64.34 kB / 408 MB, free: 27.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 60.83 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.00357/0.1319, allocations: 1.633 MB / 470.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000828/0.1328, allocations: 415.2 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.506e-05/0.1328, allocations: 3.938 kB / 470.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1331, allocations: 107.8 kB / 471 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.1334, allocations: 79.78 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.1337, allocations: 95.77 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1338, allocations: 75.86 kB / 471.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.134, allocations: 24.12 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.134, allocations: 39.83 kB / 471.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1342, allocations: 67.88 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.1342, allocations: 0 / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1343, allocations: 39.97 kB / 471.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.1344, allocations: 31.86 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.533e-05/0.1344, allocations: 31.75 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1346, allocations: 115.8 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.1347, allocations: 0 / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1347, allocations: 3.938 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.1347, allocations: 4 kB / 471.6 MB, free: 11.88 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.0005161/0.1352, allocations: 414.9 kB / 472 MB, free: 11.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1353, allocations: 8.031 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.974e-05/0.1353, allocations: 34.75 kB / 472 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1353, allocations: 12.75 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.1356, allocations: 208.6 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.081e-06/0.1356, allocations: 384 / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.1356, allocations: 12.12 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1358, allocations: 53.62 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1358, allocations: 0 / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.1358, allocations: 4 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1358, allocations: 0 / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.1359, allocations: 35.91 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1363, allocations: 300.7 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1365, allocations: 50.5 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.1365, allocations: 20.94 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.1366, allocations: 4 kB / 472.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.1366, allocations: 30.56 kB / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.1366, allocations: 0 / 472.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009038/0.1375, allocations: 249 kB / 473 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.1376, allocations: 59.28 kB / 473 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1378, allocations: 234.7 kB / 473.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1379, allocations: 29.7 kB / 473.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.1379, allocations: 108.1 kB / 473.4 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.138, allocations: 27.55 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.1381, allocations: 25.72 kB / 473.4 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1382, allocations: 322.8 kB / 473.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.1383, allocations: 27.98 kB / 473.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.254e-05/0.1384, allocations: 35.91 kB / 473.8 MB, free: 9.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.1385, allocations: 72.81 kB / 473.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1386, allocations: 4 kB / 473.9 MB, free: 9.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00023/0.1388, allocations: 109.5 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1388, allocations: 8 kB / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1388, allocations: 0 / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1388, allocations: 0 / 474 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.1389, allocations: 19.92 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.139, allocations: 7.938 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.103e-05/0.139, allocations: 4 kB / 474 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.139, allocations: 4 kB / 474 MB, free: 9.152 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 9.677e-05/0.1391, allocations: 133.8 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.1392, allocations: 16.23 kB / 474.2 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1394, allocations: 127 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1394, allocations: 0 / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1395, allocations: 11.92 kB / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1395, allocations: 0 / 474.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.14, allocations: 435.6 kB / 474.8 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.14, allocations: 3.938 kB / 474.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.1401, allocations: 19.92 kB / 474.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1401, allocations: 4 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1401, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1401, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1401, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1404, allocations: 212.3 kB / 475 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.225e-05/0.1404, allocations: 92.84 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1405, allocations: 7.938 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.14e-05/0.1405, allocations: 7.938 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.1406, allocations: 15.92 kB / 475.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.1406, allocations: 4 kB / 475.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1408, allocations: 184.3 kB / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1408, allocations: 0 / 475.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1411, allocations: 24 kB / 475.3 MB, free: 7.773 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.001621/0.1427, allocations: 1.086 MB / 476.4 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1429, allocations: 83.88 kB / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.143, allocations: 0 / 476.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.776e-05/0.1431, allocations: 39.92 kB / 476.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.1435, allocations: 23.05 kB / 476.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1455, allocations: 1.794 MB / 478.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1458, allocations: 0.7158 MB / 479.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.1e-05/0.1459, allocations: 20.95 kB / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.146, allocations: 39.52 kB / 479.1 MB, free: 4.027 MB / 350.1 MB Notification: Performance of SimCode: time 1.483e-06/0.146, allocations: 3.938 kB / 479.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.1592, allocations: 3.053 MB / 482.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.1595, allocations: 237.8 kB / 482.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.078, allocations: 4 kB / 482.4 MB, free: 0.8008 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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(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