Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.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.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6",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.001932/0.001932, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001911/0.001911, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2126/0.2126, allocations: 43.52 MB / 314.1 MB, free: 468 kB / 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.00242/0.00242, allocations: 71.89 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1107, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003149/0.1138, allocations: 1.604 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006784/0.1146, allocations: 351.5 kB / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.1146, allocations: 0 / 0.4893 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.1152, allocations: 459.1 kB / 0.4898 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.1156, allocations: 255.4 kB / 0.49 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003771/0.116, allocations: 151.7 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.1162, allocations: 171.6 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.789e-05/0.1163, allocations: 27.95 kB / 0.4903 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1165, allocations: 115.8 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.1167, allocations: 211.6 kB / 0.4907 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1167, allocations: 4 kB / 0.4907 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.042e-05/0.1168, allocations: 35.92 kB / 0.4907 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1169, allocations: 91.61 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.302e-05/0.117, allocations: 99 kB / 0.4909 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.1174, allocations: 262.6 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1174, allocations: 4 kB / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1174, allocations: 0 / 0.4911 GB, free: 8.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1174, allocations: 0 / 0.4911 GB, free: 8.465 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008109/0.1182, allocations: 0.6607 MB / 0.4918 GB, free: 7.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.1183, allocations: 11.89 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.1183, allocations: 38.73 kB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.1184, allocations: 40.66 kB / 0.4919 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.1187, allocations: 308.6 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1187, allocations: 4.375 kB / 0.4922 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.1188, allocations: 8.312 kB / 0.4922 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.119, allocations: 61.61 kB / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.119, allocations: 0 / 0.4922 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.119, allocations: 4 kB / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.119, allocations: 0 / 0.4922 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1192, allocations: 43.94 kB / 0.4923 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005536/0.1197, allocations: 408.7 kB / 0.4927 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.1199, allocations: 42.55 kB / 0.4927 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.12, allocations: 24.94 kB / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.12, allocations: 0 / 0.4927 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.12, allocations: 38.56 kB / 0.4928 GB, free: 6.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.12, allocations: 4 kB / 0.4928 GB, free: 6.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008883/0.1209, allocations: 308.5 kB / 0.4931 GB, free: 6.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.121, allocations: 51.41 kB / 0.4931 GB, free: 6.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008688/0.1219, allocations: 0.8652 MB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.1219, allocations: 29.7 kB / 0.494 GB, free: 5.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1221, allocations: 216 kB / 0.4942 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1221, allocations: 31.84 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.1222, allocations: 17.72 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1223, allocations: 366.7 kB / 0.4946 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1225, allocations: 35.97 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1226, allocations: 39.97 kB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.1228, allocations: 88.73 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1229, allocations: 0 / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000319/0.1232, allocations: 157.3 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1232, allocations: 8 kB / 0.4949 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1232, allocations: 4 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1232, allocations: 0 / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1233, allocations: 19.92 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.1234, allocations: 4 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.709e-05/0.1234, allocations: 11.92 kB / 0.4949 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.1235, allocations: 4 kB / 0.4949 GB, free: 4.312 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 (7): * Single equations (assignments): 7 * 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.0001928/0.1237, allocations: 217.7 kB / 0.4951 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.1237, allocations: 51.67 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003952/0.1241, allocations: 177.7 kB / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1241, allocations: 0 / 0.4954 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1242, allocations: 3.938 kB / 0.4954 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.1242, allocations: 3.938 kB / 0.4954 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000717/0.1249, allocations: 0.5102 MB / 0.4959 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1249, allocations: 4 kB / 0.4959 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.793e-05/0.125, allocations: 24.27 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.125, allocations: 0 / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.125, allocations: 3.938 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.125, allocations: 0 / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.125, allocations: 0 / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003907/0.1254, allocations: 267.1 kB / 0.4962 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.988e-05/0.1255, allocations: 112.8 kB / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.1256, allocations: 7.938 kB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1257, allocations: 11.98 kB / 0.4963 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.1257, allocations: 4 kB / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1257, allocations: 0 / 0.4963 GB, free: 2.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007035/0.1265, allocations: 0.655 MB / 0.4969 GB, free: 2.168 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1265, allocations: 4 kB / 0.4969 GB, free: 2.164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1267, allocations: 27.95 kB / 0.497 GB, free: 2.137 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 (7): * Single equations (assignments): 7 * 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.001964/0.1287, allocations: 1.099 MB / 0.498 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.129, allocations: 91.91 kB / 0.4981 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.129, allocations: 0 / 0.4981 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1292, allocations: 51.91 kB / 0.4982 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.1296, allocations: 29.23 kB / 0.4982 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.1335, allocations: 3.338 MB / 0.5015 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.134, allocations: 0.826 MB / 0.5023 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.557e-05/0.1341, allocations: 28.89 kB / 0.5023 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.1342, allocations: 115.4 kB / 0.5024 GB, free: 12.47 MB / 398.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1342, allocations: 0 / 0.5024 GB, free: 12.47 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.1617, allocations: 6.169 MB / 0.5084 GB, free: 6.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/8.646, allocations: 15.83 kB / 0.5084 GB, free: 6.262 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches