Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001406/0.001406, allocations: 124.4 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.001436/0.001436, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.515/1.515, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2445/0.2445, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 75.89 kB / 0.491 GB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1327, allocations: 65.99 MB / 0.5554 GB, free: 5.898 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00309/0.1358, allocations: 1.607 MB / 0.557 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1369, allocations: 0.5649 MB / 0.5575 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.1369, allocations: 0 / 0.5575 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1372, allocations: 27.84 kB / 0.5575 GB, free: 3.684 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1375, allocations: 83.61 kB / 0.5576 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1378, allocations: 111.2 kB / 0.5577 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.138, allocations: 71.72 kB / 0.5578 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1381, allocations: 15.98 kB / 0.5578 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.724e-05/0.1382, allocations: 27.91 kB / 0.5578 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.1382, allocations: 31.86 kB / 0.5579 GB, free: 3.352 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1383, allocations: 7.938 kB / 0.5579 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001888/0.1385, allocations: 103.9 kB / 0.558 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1385, allocations: 11.98 kB / 0.558 GB, free: 3.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.1385, allocations: 27.8 kB / 0.558 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00027/0.1388, allocations: 147.5 kB / 0.5582 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1388, allocations: 0 / 0.5582 GB, free: 3.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1388, allocations: 0 / 0.5582 GB, free: 3.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1388, allocations: 3.938 kB / 0.5582 GB, free: 3.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005853/0.1394, allocations: 414.7 kB / 0.5586 GB, free: 2.602 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1395, allocations: 12.03 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.919e-05/0.1395, allocations: 34.75 kB / 0.5586 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.1396, allocations: 8.891 kB / 0.5586 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1398, allocations: 188.3 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.1398, allocations: 4.375 kB / 0.5588 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1398, allocations: 4.375 kB / 0.5588 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.14, allocations: 67.33 kB / 0.5589 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.14, allocations: 4 kB / 0.5589 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.14, allocations: 3.938 kB / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.14, allocations: 0 / 0.5589 GB, free: 2.223 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1401, allocations: 27.92 kB / 0.5589 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.1406, allocations: 296.9 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.1407, allocations: 54.5 kB / 0.5592 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.1408, allocations: 20.94 kB / 0.5593 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.1408, allocations: 4 kB / 0.5593 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1408, allocations: 30.56 kB / 0.5593 GB, free: 1.727 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1408, allocations: 0 / 0.5593 GB, free: 1.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006935/0.1415, allocations: 185.3 kB / 0.5595 GB, free: 1.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.1416, allocations: 81.11 kB / 0.5595 GB, free: 1.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.1418, allocations: 159.4 kB / 0.5597 GB, free: 1.277 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1418, allocations: 25.7 kB / 0.5597 GB, free: 1.246 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.1419, allocations: 92.14 kB / 0.5598 GB, free: 1.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.1419, allocations: 23.78 kB / 0.5598 GB, free: 1.129 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.142, allocations: 21.72 kB / 0.5599 GB, free: 1.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1421, allocations: 330.8 kB / 0.5602 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.308e-05/0.1422, allocations: 27.97 kB / 0.5602 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1423, allocations: 41.7 kB / 0.5602 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.1425, allocations: 72.75 kB / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1425, allocations: 0 / 0.5603 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002561/0.1427, allocations: 117.8 kB / 0.5604 GB, free: 0.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.1428, allocations: 8 kB / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1428, allocations: 0 / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1428, allocations: 0 / 0.5604 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1429, allocations: 19.98 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1429, allocations: 4 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.951e-05/0.143, allocations: 3.938 kB / 0.5604 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.143, allocations: 4 kB / 0.5605 GB, free: 472 kB / 414.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 0.0001012/0.1431, allocations: 125.8 kB / 0.5606 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.1431, allocations: 7.953 kB / 0.5606 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.1434, allocations: 110.4 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1434, allocations: 4.219 kB / 0.5607 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1434, allocations: 0 / 0.5607 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1434, allocations: 3.938 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.144, allocations: 402.4 kB / 0.5611 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.144, allocations: 3.984 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1441, allocations: 12 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1441, allocations: 7.875 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1441, allocations: 4 kB / 0.5611 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1441, allocations: 3.984 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1441, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.1444, allocations: 199.4 kB / 0.5613 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.1445, allocations: 85.06 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1445, allocations: 3.938 kB / 0.5614 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.1446, allocations: 7.984 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.1446, allocations: 4 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1446, allocations: 4 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.1447, allocations: 117.8 kB / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1447, allocations: 0 / 0.5615 GB, free: 15.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003413/0.1451, allocations: 47.86 kB / 0.5616 GB, free: 15.22 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.002509/0.1476, allocations: 1.136 MB / 0.5627 GB, free: 14.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1479, allocations: 67.94 kB / 0.5627 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1479, allocations: 4 kB / 0.5627 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.148, allocations: 35.91 kB / 0.5628 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1484, allocations: 12 kB / 0.5628 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.1504, allocations: 1.529 MB / 0.5643 GB, free: 12.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1508, allocations: 0.7002 MB / 0.565 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.683e-05/0.1509, allocations: 29.03 kB / 0.565 GB, free: 11.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.207e-05/0.1509, allocations: 27.42 kB / 0.565 GB, free: 11.75 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1509, allocations: 0 / 0.565 GB, free: 11.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02787/0.1788, allocations: 3.526 MB / 0.5685 GB, free: 8.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.438/8.617, allocations: 7.984 kB / 0.5685 GB, free: 8.227 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.745764350984246]