Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2",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.001279/0.001279, allocations: 108 kB / 16.41 MB, free: 6.484 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.001239/0.00124, 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.461/1.461, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2216/0.2216, allocations: 43.52 MB / 314.1 MB, free: 464 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.002307/0.002307, allocations: 67.91 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1225, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003749/0.1262, allocations: 1.612 MB / 0.489 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007572/0.127, allocations: 347.5 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.164e-05/0.1271, allocations: 0 / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.1278, allocations: 451.2 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.1282, allocations: 255.4 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1287, allocations: 151.7 kB / 0.4901 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000321/0.129, allocations: 171.6 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.1292, allocations: 16.17 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.1293, allocations: 107.8 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000279/0.1296, allocations: 211.6 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.1296, allocations: 4 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1298, allocations: 32 kB / 0.4907 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.1299, allocations: 87.69 kB / 0.4907 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.13, allocations: 107 kB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.1304, allocations: 258.5 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1304, allocations: 4 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1304, allocations: 0 / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.1304, allocations: 0 / 0.4911 GB, free: 8.508 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.0008924/0.1313, allocations: 0.6602 MB / 0.4917 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1314, allocations: 11.89 kB / 0.4917 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.1314, allocations: 38.75 kB / 0.4918 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.1315, allocations: 44.61 kB / 0.4918 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.1319, allocations: 300.7 kB / 0.4921 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1319, allocations: 4.312 kB / 0.4921 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.1319, allocations: 8.125 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1321, allocations: 57.67 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1321, allocations: 4 kB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1321, allocations: 3.984 kB / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1322, allocations: 0 / 0.4922 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1323, allocations: 27.98 kB / 0.4922 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.1329, allocations: 400.6 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1332, allocations: 54.55 kB / 0.4926 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.1332, allocations: 12.86 kB / 0.4927 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.1332, allocations: 0 / 0.4927 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1333, allocations: 34.56 kB / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1333, allocations: 0 / 0.4927 GB, free: 6.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006542/0.1339, allocations: 240.8 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.134, allocations: 55.41 kB / 0.493 GB, free: 6.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008882/0.1349, allocations: 0.8652 MB / 0.4938 GB, free: 5.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.1349, allocations: 29.7 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.1351, allocations: 228 kB / 0.4941 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.1352, allocations: 23.78 kB / 0.4941 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.1352, allocations: 13.72 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1354, allocations: 366.8 kB / 0.4945 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.501e-05/0.1355, allocations: 23.98 kB / 0.4945 GB, free: 4.809 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.1356, allocations: 23.92 kB / 0.4945 GB, free: 4.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1357, allocations: 48.83 kB / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1357, allocations: 192 / 0.4945 GB, free: 4.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002449/0.136, allocations: 129.4 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.136, allocations: 4 kB / 0.4947 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.136, allocations: 4 kB / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1361, allocations: 0 / 0.4947 GB, free: 4.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.1361, allocations: 15.98 kB / 0.4947 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1362, allocations: 3.938 kB / 0.4947 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.1362, allocations: 4 kB / 0.4947 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1362, allocations: 3.938 kB / 0.4947 GB, free: 4.566 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 0.0002126/0.1365, allocations: 217.7 kB / 0.4949 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.1365, allocations: 43.72 kB / 0.495 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003163/0.1368, allocations: 141.1 kB / 0.4951 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.1369, allocations: 4 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1369, allocations: 3.938 kB / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1369, allocations: 0 / 0.4951 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006544/0.1376, allocations: 466.4 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1376, allocations: 288 / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.865e-05/0.1376, allocations: 15.98 kB / 0.4956 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1377, allocations: 7.938 kB / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1377, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1377, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1377, allocations: 0 / 0.4956 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.138, allocations: 235.3 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.212e-05/0.1381, allocations: 108.8 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.1381, allocations: 7.938 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.722e-05/0.1382, allocations: 11.98 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.1383, allocations: 4 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.1383, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006776/0.139, allocations: 0.6589 MB / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.139, allocations: 0 / 0.4966 GB, free: 2.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1392, allocations: 23.94 kB / 0.4966 GB, free: 2.539 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.001952/0.1412, allocations: 1.06 MB / 0.4976 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1414, allocations: 55.91 kB / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1415, allocations: 0 / 0.4977 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.799e-05/0.1416, allocations: 27.97 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.142, allocations: 34 kB / 0.4977 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004088/0.1461, allocations: 3.246 MB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.1466, allocations: 0.826 MB / 0.5017 GB, free: 13.19 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.1467, allocations: 11.98 kB / 0.5017 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1469, allocations: 119.4 kB / 0.5018 GB, free: 13.06 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1469, allocations: 0 / 0.5018 GB, free: 13.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03025/0.1771, allocations: 6.017 MB / 0.5077 GB, free: 7.016 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/8.64, allocations: 15.88 kB / 0.5077 GB, free: 7 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test2.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches