Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16",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.001332/0.001332, allocations: 107.3 kB / 17.2 MB, free: 6.27 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.001249/0.001249, allocations: 194 kB / 18.12 MB, free: 5.363 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.431/1.431, allocations: 222.9 MB / 241.8 MB, free: 15.55 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.2226/0.2226, allocations: 44.18 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001625, allocations: 64.44 kB / 407.8 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1421, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003302/0.1454, allocations: 1.636 MB / 470.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008077/0.1463, allocations: 415.2 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.1463, allocations: 0 / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1466, allocations: 75.83 kB / 470.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1469, allocations: 55.88 kB / 470.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.1472, allocations: 98.94 kB / 470.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1474, allocations: 71.81 kB / 471 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1475, allocations: 12.19 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.1476, allocations: 39.84 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1477, allocations: 51.81 kB / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.1477, allocations: 0 / 471.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1479, allocations: 40 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.1479, allocations: 27.84 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.148, allocations: 27.8 kB / 471.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1482, allocations: 99.92 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1482, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1482, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1482, 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005194/0.1487, allocations: 407.1 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1488, allocations: 8.031 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1488, allocations: 38.73 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.1489, allocations: 12.83 kB / 471.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.149, allocations: 192.1 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.1491, allocations: 4.312 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1491, allocations: 19.95 kB / 471.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.1493, allocations: 49.69 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.1493, allocations: 0 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1493, allocations: 8 kB / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1493, allocations: 0 / 472 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1494, allocations: 27.97 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004044/0.1498, allocations: 300.7 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1499, allocations: 54.55 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.15, allocations: 16.86 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1501, allocations: 0 / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.1501, allocations: 30.66 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1501, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009439/0.151, allocations: 237.1 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1511, allocations: 55.34 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1513, allocations: 214.1 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1513, allocations: 25.7 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.1514, allocations: 112 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1514, allocations: 23.64 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/0.1515, allocations: 21.8 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1516, allocations: 326.8 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.74e-05/0.1517, allocations: 35.95 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.1518, allocations: 27.98 kB / 473.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.1519, allocations: 72.81 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1519, allocations: 0 / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002237/0.1522, allocations: 113.5 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1522, allocations: 4 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1522, allocations: 0 / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1522, allocations: 7.938 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.1523, allocations: 15.98 kB / 473.7 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1523, allocations: 3.938 kB / 473.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1524, allocations: 8 kB / 473.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.1524, allocations: 4 kB / 473.7 MB, free: 9.449 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.0001046/0.1525, allocations: 125.8 kB / 473.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.1526, allocations: 11.91 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.1529, allocations: 134.6 kB / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1529, allocations: 432 / 473.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.1529, allocations: 7.938 kB / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1529, allocations: 0 / 474 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.1534, allocations: 419.3 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.1535, allocations: 7.938 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.999e-05/0.1535, allocations: 15.98 kB / 474.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1535, allocations: 3.984 kB / 474.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1536, allocations: 7.938 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1536, allocations: 0 / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1536, allocations: 3.984 kB / 474.4 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.1539, allocations: 216.2 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.1539, allocations: 88.95 kB / 474.7 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.1539, allocations: 4 kB / 474.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.154, allocations: 7.984 kB / 474.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.1541, allocations: 4 kB / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1541, allocations: 0 / 474.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.1542, allocations: 163.2 kB / 474.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1542, allocations: 4 kB / 474.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1545, allocations: 23.98 kB / 474.9 MB, free: 8.113 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.001501/0.156, allocations: 1.093 MB / 476 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002291/0.1562, allocations: 71.95 kB / 476.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1563, allocations: 4 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.801e-05/0.1564, allocations: 43.91 kB / 476.1 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003862/0.1568, allocations: 23.64 kB / 476.1 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1587, allocations: 1.702 MB / 477.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.159, allocations: 0.7041 MB / 478.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.985e-05/0.1591, allocations: 28.62 kB / 478.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.115e-05/0.1591, allocations: 31.44 kB / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1591, allocations: 0 / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.1738, allocations: 2.83 MB / 481.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.1741, allocations: 237.7 kB / 481.7 MB, free: 1.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.871/2.045, allocations: 3.875 kB / 481.7 MB, free: 1.457 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches