Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.001443/0.001448, allocations: 105.9 kB / 17.2 MB, free: 6.285 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.001614/0.001614, allocations: 190 kB / 18.12 MB, free: 5.391 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.434/1.434, allocations: 222.9 MB / 241.8 MB, free: 13.61 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.2283/0.2283, allocations: 44.18 MB / 336.1 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 71.48 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1372, allocations: 60.81 MB / 468.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003764/0.141, allocations: 1.633 MB / 470.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.1421, allocations: 427.3 kB / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.1422, allocations: 0 / 470.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.1425, allocations: 15.94 kB / 470.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1427, allocations: 35.78 kB / 470.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.1431, allocations: 111.4 kB / 470.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.1433, allocations: 51.91 kB / 470.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.1434, allocations: 12.19 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.1435, allocations: 19.91 kB / 470.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.788e-05/0.1436, allocations: 31.8 kB / 470.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1436, allocations: 0 / 470.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.1437, allocations: 47.97 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.1438, allocations: 19.92 kB / 471 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.1439, allocations: 19.86 kB / 471 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1441, allocations: 95.98 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1441, allocations: 0 / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1441, allocations: 0 / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1442, allocations: 0 / 471.1 MB, free: 12.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006044/0.1448, allocations: 383.3 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.1448, allocations: 8.031 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.1449, allocations: 30.75 kB / 471.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.699e-05/0.1449, allocations: 16.84 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.1452, allocations: 188.2 kB / 471.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1452, allocations: 4.375 kB / 471.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1452, allocations: 4.125 kB / 471.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1454, allocations: 63.41 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1454, allocations: 0 / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1454, allocations: 4 kB / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1455, allocations: 0 / 471.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1456, allocations: 31.91 kB / 471.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.1461, allocations: 284.9 kB / 472.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1462, allocations: 50.56 kB / 472.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.1463, allocations: 24.88 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1463, allocations: 4 kB / 472.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1463, allocations: 34.56 kB / 472.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1463, allocations: 0 / 472.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006499/0.147, allocations: 177.2 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.147, allocations: 85.11 kB / 472.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1472, allocations: 137.8 kB / 472.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1472, allocations: 29.7 kB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.1473, allocations: 88.12 kB / 472.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.1473, allocations: 27.56 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1474, allocations: 21.72 kB / 472.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1475, allocations: 322.8 kB / 473.1 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.683e-05/0.1476, allocations: 31.97 kB / 473.1 MB, free: 9.953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.1477, allocations: 45.7 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.1479, allocations: 72.98 kB / 473.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1479, allocations: 0 / 473.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002239/0.1481, allocations: 117.5 kB / 473.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1481, allocations: 4 kB / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.1481, allocations: 0 / 473.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1482, allocations: 3.984 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1483, allocations: 20.03 kB / 473.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1483, allocations: 0 / 473.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.1483, allocations: 11.92 kB / 473.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.1484, allocations: 0 / 473.4 MB, free: 9.668 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.528e-05/0.1485, allocations: 117.8 kB / 473.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.1485, allocations: 8.188 kB / 473.5 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1488, allocations: 118 kB / 473.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1488, allocations: 3.984 kB / 473.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1488, allocations: 0 / 473.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1488, allocations: 7.922 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/0.1493, allocations: 386.4 kB / 474 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1493, allocations: 0 / 474 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.4e-05/0.1494, allocations: 19.98 kB / 474 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.1494, allocations: 3.938 kB / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.1494, allocations: 0 / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1494, allocations: 0 / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1494, allocations: 0 / 474.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.1497, allocations: 199.3 kB / 474.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1498, allocations: 85.02 kB / 474.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.1498, allocations: 11.94 kB / 474.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1499, allocations: 4 kB / 474.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.1499, allocations: 7.984 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.1499, allocations: 4 kB / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.726e-05/0.15, allocations: 106.2 kB / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.15, allocations: 0 / 474.5 MB, free: 8.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.1503, allocations: 27.98 kB / 474.5 MB, free: 8.477 MB / 350.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 (7): * Single equations (assignments): 7 * 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.001452/0.1518, allocations: 1.077 MB / 475.6 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.152, allocations: 67.95 kB / 475.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.152, allocations: 0 / 475.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.1521, allocations: 39.91 kB / 475.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.1525, allocations: 13.83 kB / 475.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1541, allocations: 1.495 MB / 477.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.1544, allocations: 0.6926 MB / 477.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.1545, allocations: 28.92 kB / 477.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1546, allocations: 31.42 kB / 477.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1546, allocations: 0 / 477.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01433/0.1689, allocations: 2.793 MB / 480.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000286/0.1693, allocations: 246.9 kB / 481 MB, free: 2.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.983, allocations: 11.88 kB / 481 MB, free: 2.129 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches