Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001718/0.001718, allocations: 107.1 kB / 17.32 MB, free: 6.008 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.001809/0.001809, allocations: 189.4 kB / 18.25 MB, free: 5.098 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.537/1.537, allocations: 222.9 MB / 241.9 MB, free: 13.67 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.2402/0.2402, allocations: 44.17 MB / 336.2 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 54.91 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003372/0.1375, allocations: 1.629 MB / 470.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007872/0.1384, allocations: 411.3 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.1384, allocations: 3.938 kB / 470.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002519/0.1387, allocations: 23.91 kB / 470.9 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1389, allocations: 35.84 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1392, allocations: 75.86 kB / 471 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1393, allocations: 67.83 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.881e-05/0.1394, allocations: 8.172 kB / 471.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.1395, allocations: 19.94 kB / 471.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.273e-05/0.1395, allocations: 31.83 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.1396, allocations: 4 kB / 471.1 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1397, allocations: 51.98 kB / 471.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.1397, allocations: 15.92 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.606e-05/0.1398, allocations: 31.8 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.14, allocations: 107.9 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.14, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.14, allocations: 0 / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.14, allocations: 0 / 471.3 MB, free: 12.09 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004995/0.1405, allocations: 383.3 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1406, allocations: 8.031 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.1406, allocations: 30.75 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.1407, allocations: 12.84 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.1409, allocations: 190.9 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.1409, allocations: 4.375 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.981e-05/0.1409, allocations: 4.125 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.1411, allocations: 71.33 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1411, allocations: 3.906 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1411, allocations: 0 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1411, allocations: 3.938 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.818e-05/0.1412, allocations: 27.98 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.1417, allocations: 300.8 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.1418, allocations: 58.5 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.885e-05/0.1419, allocations: 24.97 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1419, allocations: 4 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.1419, allocations: 34.56 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.142, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006178/0.1426, allocations: 185.2 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.1426, allocations: 81.09 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.1428, allocations: 138.1 kB / 472.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1428, allocations: 33.7 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.013e-05/0.1429, allocations: 88.14 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.1429, allocations: 23.64 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.1429, allocations: 21.72 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.1431, allocations: 326.8 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.1431, allocations: 31.92 kB / 473.4 MB, free: 9.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.407e-05/0.1432, allocations: 49.69 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.1434, allocations: 73.19 kB / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1434, allocations: 0 / 473.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002067/0.1436, allocations: 109.7 kB / 473.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1436, allocations: 4 kB / 473.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1436, allocations: 4.094 kB / 473.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1437, allocations: 7.938 kB / 473.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1438, allocations: 20.02 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1438, allocations: 4 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.1438, allocations: 7.938 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1438, allocations: 4 kB / 473.6 MB, free: 9.508 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 (9): * Single equations (assignments): 9 * 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.174e-05/0.1439, allocations: 121.8 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.216e-05/0.144, allocations: 7.906 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.1442, allocations: 114.3 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1442, allocations: 4 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1442, allocations: 0 / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.1443, allocations: 7.938 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004367/0.1447, allocations: 386.5 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1447, allocations: 4 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.468e-05/0.1448, allocations: 15.98 kB / 474.3 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.1448, allocations: 11.88 kB / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1448, allocations: 0 / 474.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1448, allocations: 3.938 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1448, allocations: 4 kB / 474.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1451, allocations: 199.6 kB / 474.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.1451, allocations: 89 kB / 474.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1451, allocations: 3.938 kB / 474.6 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1452, allocations: 11.98 kB / 474.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.1452, allocations: 4 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1453, allocations: 4 kB / 474.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.529e-05/0.1453, allocations: 118.4 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1453, allocations: 0 / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1456, allocations: 24 kB / 474.8 MB, free: 8.293 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 (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.00143/0.147, allocations: 1.077 MB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1473, allocations: 83.83 kB / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1473, allocations: 0 / 475.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.449e-05/0.1474, allocations: 31.98 kB / 475.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1478, allocations: 19.64 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.1493, allocations: 1.53 MB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1495, allocations: 0.6885 MB / 478.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.668e-05/0.1496, allocations: 20.95 kB / 478.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.1497, allocations: 35.42 kB / 478.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1497, allocations: 0 / 478.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1626, allocations: 2.91 MB / 481.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002071/0.1629, allocations: 247.2 kB / 481.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.09, allocations: 8 kB / 481.4 MB, free: 1.789 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches