Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test24,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24",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.0008568/0.0008571, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 184.1 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3765/0.3765, allocations: 43.57 MB / 315 MB, free: 9.035 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005088, allocations: 12 kB / 384.7 MB, free: 7.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 58.87 MB / 443.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test24): time 0.001919/0.1275, allocations: 1.279 MB / 444.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.129, allocations: 0.9143 MB / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.1291, allocations: 0 / 445.7 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.1293, allocations: 27.84 kB / 445.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.1295, allocations: 39.84 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1298, allocations: 75.91 kB / 445.9 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.1299, allocations: 47.84 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1301, allocations: 24.25 kB / 445.9 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.1301, allocations: 23.86 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1303, allocations: 15.92 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1303, allocations: 3.984 kB / 446 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.1304, allocations: 51.92 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.867e-05/0.1305, allocations: 7.984 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.1305, allocations: 45.52 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1307, allocations: 91.69 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1307, allocations: 4 kB / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1307, allocations: 0 / 446.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1307, allocations: 4 kB / 446.2 MB, free: 10.15 MB / 382.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.000476/0.1312, allocations: 367.3 kB / 446.5 MB, free: 9.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1313, allocations: 8.031 kB / 446.6 MB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.1313, allocations: 34.75 kB / 446.6 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.1314, allocations: 4.844 kB / 446.6 MB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1316, allocations: 188.2 kB / 446.8 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.1316, allocations: 8.375 kB / 446.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.1316, allocations: 384 / 446.8 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1318, allocations: 75.27 kB / 446.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1318, allocations: 0 / 446.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1318, allocations: 0 / 446.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1318, allocations: 0 / 446.9 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1319, allocations: 31.98 kB / 446.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.1324, allocations: 280.9 kB / 447.2 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.1327, allocations: 54.5 kB / 447.2 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.1327, allocations: 24.92 kB / 447.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1328, allocations: 0 / 447.2 MB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1328, allocations: 34.56 kB / 447.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1328, allocations: 0 / 447.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000613/0.1334, allocations: 165.3 kB / 447.4 MB, free: 8.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.1335, allocations: 81.09 kB / 447.5 MB, free: 8.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.1336, allocations: 133.8 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1336, allocations: 29.7 kB / 447.7 MB, free: 8.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.1337, allocations: 92.12 kB / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.1337, allocations: 11.81 kB / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.1338, allocations: 13.72 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.1339, allocations: 326.8 kB / 448.1 MB, free: 7.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.134, allocations: 23.98 kB / 448.1 MB, free: 7.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.092e-05/0.134, allocations: 45.56 kB / 448.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.1342, allocations: 64.86 kB / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1342, allocations: 0 / 448.2 MB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.1344, allocations: 93.58 kB / 448.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1344, allocations: 7.938 kB / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1344, allocations: 0 / 448.3 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1345, allocations: 4 kB / 448.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.1345, allocations: 11.98 kB / 448.4 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.1346, allocations: 4 kB / 448.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.574e-05/0.1346, allocations: 7.984 kB / 448.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1346, allocations: 3.938 kB / 448.4 MB, free: 7.715 MB / 382.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 (5): * Single equations (assignments): 5 * 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.178e-05/0.1347, allocations: 121.8 kB / 448.5 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.1347, allocations: 7.906 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.135, allocations: 97.62 kB / 448.6 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.135, allocations: 7.984 kB / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.135, allocations: 0 / 448.6 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.135, allocations: 4 kB / 448.6 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.1355, allocations: 362.8 kB / 449 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1355, allocations: 0 / 449 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.332e-05/0.1355, allocations: 12.06 kB / 449 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.1356, allocations: 4 kB / 449 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1356, allocations: 7.984 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1356, allocations: 3.938 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1356, allocations: 0 / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.1359, allocations: 191.4 kB / 449.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1359, allocations: 89 kB / 449.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.1359, allocations: 0 / 449.3 MB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.136, allocations: 19.92 kB / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1361, allocations: 0 / 449.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1361, allocations: 4 kB / 449.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.181e-05/0.1362, allocations: 99.27 kB / 449.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1362, allocations: 0 / 449.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1364, allocations: 27.98 kB / 449.4 MB, free: 6.57 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001556/0.138, allocations: 1.074 MB / 450.5 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.1382, allocations: 55.91 kB / 450.5 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1382, allocations: 4 kB / 450.5 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.1383, allocations: 35.97 kB / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.1387, allocations: 19.53 kB / 450.6 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.1403, allocations: 1.435 MB / 452 MB, free: 3.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.1406, allocations: 0.6926 MB / 452.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.202e-05/0.1407, allocations: 16.36 kB / 452.7 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.1408, allocations: 19.44 kB / 452.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1408, allocations: 0 / 452.8 MB, free: 3.133 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01353/0.1543, allocations: 2.324 MB / 455.1 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.1545, allocations: 235.9 kB / 455.3 MB, free: 0.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/1.915, allocations: 4 kB / 455.3 MB, free: 0.5391 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test24.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches