Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18",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.001295/0.001295, allocations: 107.6 kB / 17.21 MB, free: 6.293 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.001219/0.001219, 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.353/1.353, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2302/0.2302, allocations: 44.18 MB / 336.1 MB, free: 2.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 68.97 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.134, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003973/0.138, allocations: 1.637 MB / 470.3 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1399, allocations: 1.004 MB / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.14, allocations: 0 / 471.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.1404, allocations: 27.86 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.1408, allocations: 39.84 kB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/0.1412, allocations: 91.81 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1414, allocations: 63.91 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1416, allocations: 24.16 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.1417, allocations: 27.86 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1419, allocations: 31.78 kB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.1419, allocations: 4 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.1421, allocations: 43.98 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1422, allocations: 15.98 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.1423, allocations: 35.78 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1425, allocations: 99.98 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1425, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.1425, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1426, allocations: 3.938 kB / 471.8 MB, free: 11.58 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006753/0.1432, allocations: 383.3 kB / 472.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.1433, allocations: 12.03 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.949e-05/0.1433, allocations: 42.69 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.1434, allocations: 12.84 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.1437, allocations: 188.2 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.1437, allocations: 4.375 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.1437, allocations: 8.125 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.144, allocations: 75.33 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.1441, allocations: 3.984 kB / 472.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.1441, allocations: 8 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.1441, allocations: 0 / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.1443, allocations: 35.97 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.145, allocations: 304.8 kB / 472.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.1452, allocations: 54.5 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.1453, allocations: 20.97 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1453, allocations: 8 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.1454, allocations: 34.56 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 4.087e-06/0.1454, allocations: 3.984 kB / 472.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009247/0.1463, allocations: 189.2 kB / 473.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.1464, allocations: 85.05 kB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.1466, allocations: 148.6 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1467, allocations: 29.64 kB / 473.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.1467, allocations: 99.98 kB / 473.5 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1468, allocations: 23.7 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/0.1468, allocations: 21.72 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.147, allocations: 318.8 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.1471, allocations: 27.97 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.1472, allocations: 53.7 kB / 473.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1473, allocations: 76.81 kB / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1473, allocations: 0 / 474 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002336/0.1476, allocations: 105.5 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.1476, allocations: 8 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1476, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1476, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1478, allocations: 23.95 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1478, allocations: 3.938 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.1478, allocations: 4 kB / 474.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.1479, allocations: 8 kB / 474.1 MB, free: 8.953 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.0001026/0.148, allocations: 121.8 kB / 474.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.148, allocations: 7.906 kB / 474.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.1483, allocations: 122.2 kB / 474.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1483, allocations: 4 kB / 474.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1483, allocations: 4.312 kB / 474.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1483, allocations: 3.984 kB / 474.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.1489, allocations: 402.4 kB / 474.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1489, allocations: 4 kB / 474.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.774e-05/0.149, allocations: 19.92 kB / 474.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.149, allocations: 8 kB / 474.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.149, allocations: 0 / 474.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.149, allocations: 3.938 kB / 474.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.149, allocations: 0 / 474.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.1493, allocations: 199.4 kB / 475 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.1494, allocations: 88.94 kB / 475.1 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.1494, allocations: 8 kB / 475.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1495, allocations: 8 kB / 475.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.1495, allocations: 3.984 kB / 475.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1495, allocations: 7.938 kB / 475.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.1496, allocations: 107.3 kB / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1496, allocations: 0 / 475.2 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.1499, allocations: 27.98 kB / 475.3 MB, free: 7.719 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.001639/0.1516, allocations: 1.076 MB / 476.3 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1518, allocations: 75.94 kB / 476.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1518, allocations: 0 / 476.4 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.917e-05/0.1519, allocations: 43.91 kB / 476.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.1524, allocations: 19.98 kB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1542, allocations: 1.513 MB / 478 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1545, allocations: 0.6965 MB / 478.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.414e-05/0.1546, allocations: 16.66 kB / 478.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.1547, allocations: 31.42 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1547, allocations: 4 kB / 478.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.1704, allocations: 2.741 MB / 481.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.1706, allocations: 250.5 kB / 481.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.101, allocations: 0 / 481.7 MB, free: 1.375 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test18.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches