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.001088/0.001088, allocations: 106.3 kB / 16.41 MB, free: 6.496 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.00115/0.00115, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.451/1.451, 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.2322/0.2322, allocations: 43.53 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.001816/0.001817, allocations: 67.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1352, 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.002889/0.1381, allocations: 1.612 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006527/0.1388, allocations: 343.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1389, allocations: 0 / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005273/0.1394, allocations: 451.2 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003368/0.1398, allocations: 263.4 kB / 0.49 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.1402, allocations: 147.7 kB / 0.4901 GB, free: 9.496 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1404, allocations: 167.7 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.1405, allocations: 20.16 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.1407, allocations: 107.7 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1409, allocations: 215.6 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.141, allocations: 4 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.348e-05/0.141, allocations: 31.98 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.1411, allocations: 87.69 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.543e-05/0.1412, allocations: 103 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1415, allocations: 262.9 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1415, allocations: 4 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1416, allocations: 4 kB / 0.4911 GB, free: 8.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1416, 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.0007057/0.1423, allocations: 0.6375 MB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1423, allocations: 15.89 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.1424, allocations: 30.75 kB / 0.4918 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.1424, allocations: 40.38 kB / 0.4918 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.1427, allocations: 304.1 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1428, allocations: 8.375 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1428, allocations: 4.125 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1429, allocations: 65.61 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.143, allocations: 0 / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.143, allocations: 0 / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.143, allocations: 0 / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.1431, allocations: 27.97 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.1436, allocations: 396.6 kB / 0.4926 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.1438, allocations: 50.5 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.524e-05/0.1439, allocations: 20.94 kB / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.1439, allocations: 0 / 0.4926 GB, free: 6.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1439, allocations: 30.56 kB / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1439, allocations: 0 / 0.4927 GB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000634/0.1446, allocations: 240.1 kB / 0.4929 GB, free: 6.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.1446, allocations: 51.41 kB / 0.4929 GB, free: 6.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.1454, allocations: 0.873 MB / 0.4938 GB, free: 5.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.1454, allocations: 29.64 kB / 0.4938 GB, free: 5.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.1456, allocations: 224.1 kB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.1456, allocations: 11.8 kB / 0.494 GB, free: 5.258 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1457, allocations: 17.72 kB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1458, allocations: 358.8 kB / 0.4944 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.1459, allocations: 31.97 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.146, allocations: 19.98 kB / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1461, allocations: 60.89 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1461, allocations: 4 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002237/0.1464, allocations: 121.1 kB / 0.4946 GB, free: 4.633 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1464, allocations: 8 kB / 0.4946 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1464, allocations: 0 / 0.4946 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1464, allocations: 0 / 0.4946 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.342e-05/0.1465, allocations: 12 kB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1465, allocations: 3.938 kB / 0.4947 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.848e-05/0.1466, allocations: 7.984 kB / 0.4947 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.1466, allocations: 0 / 0.4947 GB, free: 4.602 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.0001779/0.1468, allocations: 221.6 kB / 0.4949 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.1468, allocations: 43.44 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002809/0.1471, allocations: 141.1 kB / 0.495 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1471, allocations: 4 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.1472, allocations: 3.938 kB / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1472, allocations: 0 / 0.4951 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.1477, allocations: 470.5 kB / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1477, allocations: 0 / 0.4955 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.1478, allocations: 16 kB / 0.4955 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1478, allocations: 4.125 kB / 0.4955 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1478, allocations: 4 kB / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1478, allocations: 0 / 0.4955 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1478, allocations: 3.984 kB / 0.4955 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.1481, allocations: 211 kB / 0.4957 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.326e-05/0.1482, allocations: 116.5 kB / 0.4958 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1482, allocations: 7.938 kB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.1483, allocations: 4 kB / 0.4959 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.324e-05/0.1484, allocations: 11.92 kB / 0.4959 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.1484, allocations: 3.938 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005875/0.149, allocations: 0.6589 MB / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.149, allocations: 0 / 0.4965 GB, free: 2.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1492, allocations: 20 kB / 0.4965 GB, free: 2.578 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.001341/0.1506, allocations: 1.057 MB / 0.4976 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.1508, allocations: 55.91 kB / 0.4976 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1508, allocations: 0 / 0.4976 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.1509, allocations: 27.98 kB / 0.4976 GB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1513, allocations: 29.58 kB / 0.4977 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.155, allocations: 3.23 MB / 0.5008 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.1555, allocations: 0.826 MB / 0.5016 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.208e-05/0.1555, allocations: 15.98 kB / 0.5016 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.1557, allocations: 115.4 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1557, allocations: 0 / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.1793, allocations: 6.06 MB / 0.5077 GB, free: 7.039 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.411/8.59, allocations: 15.81 kB / 0.5077 GB, free: 7.023 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