Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29",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.00144/0.00144, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001489/0.001489, allocations: 194 kB / 18.12 MB, free: 5.383 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.466/1.466, allocations: 222.9 MB / 241.8 MB, free: 15.37 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.2323/0.2323, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 72.42 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1252, allocations: 60.82 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003078/0.1283, allocations: 1.672 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007856/0.1292, allocations: 431.2 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.671e-05/0.1292, allocations: 4 kB / 470.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.1295, allocations: 19.92 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.1296, allocations: 43.83 kB / 470.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.13, allocations: 107.4 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.1301, allocations: 75.77 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1302, allocations: 32.2 kB / 471 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.209e-05/0.1303, allocations: 27.92 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.536e-05/0.1304, allocations: 31.84 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.1304, allocations: 4 kB / 471.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.1305, allocations: 47.91 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1306, allocations: 19.92 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.1306, allocations: 31.75 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1308, allocations: 103.7 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1308, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1308, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1308, allocations: 0 / 471.3 MB, free: 12.11 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004505/0.1313, allocations: 395.2 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1313, allocations: 8.031 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.223e-05/0.1314, allocations: 38.75 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.1314, allocations: 8.844 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.1316, allocations: 200 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1316, allocations: 12.38 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1317, allocations: 4.375 kB / 471.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1319, allocations: 81.59 kB / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1319, allocations: 0 / 472 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1319, allocations: 4 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1319, allocations: 0 / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.132, allocations: 39.97 kB / 472 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.1325, allocations: 336.6 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1326, allocations: 62.55 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.1327, allocations: 28.84 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1327, allocations: 3.938 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1327, allocations: 38.56 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.1328, allocations: 0 / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001044/0.1338, allocations: 317 kB / 472.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.1339, allocations: 51.41 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.134, allocations: 160.2 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.134, allocations: 25.7 kB / 473 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.1341, allocations: 104 kB / 473.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.1341, allocations: 47.36 kB / 473.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.1342, allocations: 25.7 kB / 473.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.1343, allocations: 322.8 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.1344, allocations: 43.97 kB / 473.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.1345, allocations: 52.03 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1347, allocations: 119.6 kB / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1347, allocations: 0 / 473.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002793/0.135, allocations: 145.5 kB / 473.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.135, allocations: 7.938 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.135, allocations: 0 / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.135, allocations: 0 / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.1352, allocations: 35.92 kB / 473.9 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1352, allocations: 4.703 kB / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/0.1352, allocations: 0 / 473.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1352, allocations: 11.98 kB / 473.9 MB, free: 9.203 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 (13): * Single equations (assignments): 13 * 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 8.584e-05/0.1353, allocations: 117.8 kB / 474 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.1354, allocations: 19.75 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.1357, allocations: 190.3 kB / 474.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.1357, allocations: 7.984 kB / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1357, allocations: 0 / 474.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1358, allocations: 3.984 kB / 474.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.1363, allocations: 495 kB / 474.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1364, allocations: 4.031 kB / 474.8 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.714e-05/0.1364, allocations: 23.98 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.1365, allocations: 0 / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1365, allocations: 4 kB / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1365, allocations: 0 / 474.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.1365, allocations: 3.938 kB / 474.8 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.1368, allocations: 253 kB / 475 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.867e-05/0.1368, allocations: 89 kB / 475.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1369, allocations: 4 kB / 475.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1369, allocations: 4 kB / 475.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.137, allocations: 7.984 kB / 475.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.137, allocations: 4 kB / 475.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.839e-05/0.1371, allocations: 125.1 kB / 475.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1371, allocations: 3.938 kB / 475.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1374, allocations: 27.94 kB / 475.3 MB, free: 7.73 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 (13): * Single equations (assignments): 13 * 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.00147/0.1388, allocations: 1.139 MB / 476.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.1391, allocations: 107.9 kB / 476.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1391, allocations: 0 / 476.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.1393, allocations: 67.84 kB / 476.6 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1396, allocations: 20.05 kB / 476.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1415, allocations: 1.743 MB / 478.4 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1417, allocations: 0.7083 MB / 479.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.135e-05/0.1418, allocations: 28.47 kB / 479.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.1419, allocations: 35.42 kB / 479.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1419, allocations: 4 kB / 479.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.155, allocations: 2.938 MB / 482.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/0.1553, allocations: 233.7 kB / 482.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/1.953, allocations: 0 / 482.3 MB, free: 0.8242 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches