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.0007854/0.0007855, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.0008059/0.0008061, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.323/1.323, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2015/0.2015, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.000302, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001883/0.1139, allocations: 1.297 MB / 473.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007314/0.1147, allocations: 399.4 kB / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.1147, allocations: 0 / 474 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002614/0.115, allocations: 79.77 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.1152, allocations: 47.88 kB / 474.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.1155, allocations: 103.8 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1157, allocations: 67.88 kB / 474.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1158, allocations: 16.17 kB / 474.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.848e-05/0.1158, allocations: 35.8 kB / 474.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1159, allocations: 47.88 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.116, allocations: 4 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-05/0.1161, allocations: 43.97 kB / 474.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.1161, allocations: 19.92 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.08e-05/0.1162, allocations: 49.45 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.1164, allocations: 103.9 kB / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1164, allocations: 0 / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1164, allocations: 0 / 474.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.1164, allocations: 0 / 474.7 MB, free: 10.94 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.0004654/0.1169, allocations: 393.4 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1169, allocations: 11.97 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.117, allocations: 38.75 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.117, allocations: 8.844 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.1172, allocations: 192.1 kB / 475.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1172, allocations: 4.375 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1172, allocations: 12.03 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1174, allocations: 61.59 kB / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1174, allocations: 0 / 475.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1174, allocations: 4 kB / 475.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1174, allocations: 7.938 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.86e-05/0.1175, allocations: 31.98 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.1179, allocations: 300.8 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1181, allocations: 50.5 kB / 475.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.642e-05/0.1181, allocations: 24.94 kB / 475.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1182, allocations: 0 / 475.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1182, allocations: 30.56 kB / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1182, allocations: 0 / 475.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000915/0.1191, allocations: 265.1 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1192, allocations: 55.34 kB / 476.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.1194, allocations: 206.2 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1194, allocations: 25.7 kB / 476.3 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.171e-05/0.1195, allocations: 112 kB / 476.4 MB, free: 8.938 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.1195, allocations: 23.72 kB / 476.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.1195, allocations: 13.72 kB / 476.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1196, allocations: 326.8 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.1197, allocations: 35.97 kB / 476.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.1198, allocations: 31.98 kB / 476.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.12, allocations: 92.97 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.12, allocations: 0 / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002293/0.1202, allocations: 117.5 kB / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1203, allocations: 4 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1203, allocations: 3.938 kB / 477.1 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1203, allocations: 4 kB / 477.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.834e-05/0.1204, allocations: 19.98 kB / 477.1 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1204, allocations: 3.938 kB / 477.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.163e-05/0.1205, allocations: 16.41 kB / 477.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1205, allocations: 4 kB / 477.1 MB, free: 8.23 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.934e-05/0.1206, allocations: 125.8 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.494e-05/0.1206, allocations: 11.91 kB / 477.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.1209, allocations: 142.3 kB / 477.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1209, allocations: 3.984 kB / 477.4 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1209, allocations: 3.938 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1209, allocations: 0 / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.1215, allocations: 431.2 kB / 477.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1215, allocations: 3.938 kB / 477.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/0.1216, allocations: 23.92 kB / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1216, allocations: 0 / 477.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-06/0.1216, allocations: 4.031 kB / 477.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.1216, allocations: 7.938 kB / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1216, allocations: 0 / 477.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1219, allocations: 216.3 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.035e-05/0.122, allocations: 92.94 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.122, allocations: 4 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1221, allocations: 4 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.746e-05/0.1221, allocations: 7.984 kB / 478.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.1221, allocations: 8 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1222, allocations: 155.2 kB / 478.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1222, allocations: 0 / 478.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1225, allocations: 23.91 kB / 478.4 MB, free: 6.875 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.001477/0.124, allocations: 1.114 MB / 479.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1242, allocations: 83.89 kB / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1242, allocations: 0 / 479.6 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.677e-05/0.1243, allocations: 39.92 kB / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.1247, allocations: 26.95 kB / 479.6 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1266, allocations: 1.717 MB / 481.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1268, allocations: 0.7157 MB / 482.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.439e-05/0.1269, allocations: 28.95 kB / 482.1 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.127, allocations: 31.42 kB / 482.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.127, allocations: 0 / 482.1 MB, free: 3.164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01253/0.1395, allocations: 2.631 MB / 484.8 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002181/0.1398, allocations: 236.1 kB / 485 MB, free: 396 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.813/1.953, allocations: 0 / 485 MB, free: 396 kB / 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