Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 207.2 kB / 20.75 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2437/0.2437, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 71.89 kB / 0.491 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1337, allocations: 65.98 MB / 0.5554 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003535/0.1372, allocations: 1.668 MB / 0.557 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00203/0.1392, allocations: 1.21 MB / 0.5582 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.1393, allocations: 4 kB / 0.5582 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1396, allocations: 27.8 kB / 0.5582 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003503/0.1399, allocations: 87.55 kB / 0.5583 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.1404, allocations: 178.7 kB / 0.5585 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000188/0.1406, allocations: 75.81 kB / 0.5586 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1407, allocations: 15.98 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.1408, allocations: 31.86 kB / 0.5586 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1409, allocations: 35.84 kB / 0.5586 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.141, allocations: 4 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.1412, allocations: 107.9 kB / 0.5587 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.314e-05/0.1412, allocations: 19.92 kB / 0.5588 GB, free: 2.359 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.1413, allocations: 35.78 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1416, allocations: 155.4 kB / 0.559 GB, free: 2.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1416, allocations: 0 / 0.559 GB, free: 2.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1416, allocations: 4 kB / 0.559 GB, free: 2.168 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.1416, allocations: 0 / 0.559 GB, free: 2.168 MB / 414.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.0006517/0.1423, allocations: 422.7 kB / 0.5594 GB, free: 1.707 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1423, allocations: 8.031 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.1423, allocations: 34.75 kB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.1424, allocations: 8.891 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.1426, allocations: 208.2 kB / 0.5596 GB, free: 1.406 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1427, allocations: 4.375 kB / 0.5596 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.1427, allocations: 4.375 kB / 0.5596 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.1429, allocations: 79.27 kB / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1429, allocations: 0 / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1429, allocations: 0 / 0.5597 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1429, allocations: 4 kB / 0.5597 GB, free: 1.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1431, allocations: 43.95 kB / 0.5597 GB, free: 1.262 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.1436, allocations: 316.7 kB / 0.56 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1438, allocations: 38.66 kB / 0.5601 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.1439, allocations: 28.83 kB / 0.5601 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.1439, allocations: 8.062 kB / 0.5601 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.1439, allocations: 34.56 kB / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1439, allocations: 0 / 0.5601 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008903/0.1448, allocations: 229.3 kB / 0.5604 GB, free: 0.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.1449, allocations: 85.09 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1451, allocations: 160.5 kB / 0.5606 GB, free: 284 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1451, allocations: 29.64 kB / 0.5606 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.1452, allocations: 104 kB / 0.5607 GB, free: 140 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.1452, allocations: 19.8 kB / 0.5607 GB, free: 120 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.1453, allocations: 25.7 kB / 0.5608 GB, free: 88 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1454, allocations: 322.8 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.1456, allocations: 39.97 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1457, allocations: 53.62 kB / 0.5612 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.146, allocations: 101 kB / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.146, allocations: 0 / 0.5613 GB, free: 15.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003353/0.1463, allocations: 117.6 kB / 0.5614 GB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1463, allocations: 8 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1463, allocations: 0 / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1463, allocations: 3.984 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.1465, allocations: 19.98 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.1465, allocations: 3.938 kB / 0.5614 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.581e-05/0.1466, allocations: 23.92 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1466, allocations: 0 / 0.5614 GB, free: 15.38 MB / 430.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.0001364/0.1467, allocations: 124 kB / 0.5615 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.1468, allocations: 11.91 kB / 0.5616 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003949/0.1472, allocations: 134.3 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1472, allocations: 0 / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1472, allocations: 4 kB / 0.5617 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1472, allocations: 7.922 kB / 0.5617 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.1478, allocations: 414.7 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1478, allocations: 4 kB / 0.5621 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.1479, allocations: 15.98 kB / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1479, allocations: 0 / 0.5621 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.1479, allocations: 11.92 kB / 0.5621 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1479, allocations: 4 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1479, allocations: 3.984 kB / 0.5621 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.1483, allocations: 219.4 kB / 0.5623 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.1484, allocations: 85.06 kB / 0.5624 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.1484, allocations: 11.92 kB / 0.5624 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.1485, allocations: 15.94 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.1485, allocations: 3.984 kB / 0.5625 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.1486, allocations: 4 kB / 0.5625 GB, free: 14.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1487, allocations: 120.8 kB / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1487, allocations: 0 / 0.5626 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.149, allocations: 43.86 kB / 0.5626 GB, free: 14.06 MB / 430.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.002521/0.1515, allocations: 1.162 MB / 0.5637 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003745/0.1519, allocations: 87.92 kB / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1519, allocations: 0 / 0.5638 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1521, allocations: 55.89 kB / 0.5639 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1525, allocations: 12 kB / 0.5639 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002452/0.1549, allocations: 1.651 MB / 0.5655 GB, free: 11.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1553, allocations: 0.7 MB / 0.5662 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.1554, allocations: 36.64 kB / 0.5662 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.148e-05/0.1555, allocations: 31.52 kB / 0.5663 GB, free: 10.39 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1555, allocations: 7.938 kB / 0.5663 GB, free: 10.38 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.1853, allocations: 3.606 MB / 0.5698 GB, free: 6.781 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.563, allocations: 15.11 kB / 0.5698 GB, free: 6.77 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.792049041949213]