Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001333/0.001333, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001411/0.001411, allocations: 218.9 kB / 21.46 MB, free: 1.586 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.567/1.567, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2398/0.2398, allocations: 46.92 MB / 357.8 MB, free: 10.35 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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 67.91 kB / 0.4916 GB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1405, allocations: 65.99 MB / 0.5561 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00423/0.1448, allocations: 1.616 MB / 0.5577 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1463, allocations: 0.5572 MB / 0.5582 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1464, allocations: 4 kB / 0.5582 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.1467, allocations: 23.84 kB / 0.5582 GB, free: 3.633 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004903/0.1472, allocations: 79.61 kB / 0.5583 GB, free: 3.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.1476, allocations: 91.7 kB / 0.5584 GB, free: 3.465 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.1478, allocations: 75.75 kB / 0.5585 GB, free: 3.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.1479, allocations: 8 kB / 0.5585 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.148, allocations: 23.92 kB / 0.5585 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1481, allocations: 43.83 kB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1481, allocations: 7.938 kB / 0.5585 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002501/0.1484, allocations: 107.9 kB / 0.5586 GB, free: 3.203 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.1484, allocations: 8 kB / 0.5587 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.1485, allocations: 35.78 kB / 0.5587 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.1488, allocations: 143.4 kB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1488, allocations: 4 kB / 0.5588 GB, free: 3.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1488, allocations: 4 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.1488, allocations: 0 / 0.5588 GB, free: 3.012 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006803/0.1495, allocations: 414.7 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.1496, allocations: 12.03 kB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.525e-05/0.1496, allocations: 192 / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.1496, allocations: 34.75 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.1497, allocations: 8.891 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.15, allocations: 196.2 kB / 0.5595 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.15, allocations: 4.375 kB / 0.5595 GB, free: 2.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1501, allocations: 8.125 kB / 0.5595 GB, free: 2.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1503, allocations: 71.33 kB / 0.5595 GB, free: 2.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1503, allocations: 4 kB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.1503, allocations: 3.984 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1503, allocations: 0 / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1504, allocations: 27.97 kB / 0.5596 GB, free: 2.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006223/0.1511, allocations: 300.8 kB / 0.5599 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1512, allocations: 58.56 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.541e-05/0.1513, allocations: 24.97 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.1513, allocations: 0 / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.1514, allocations: 34.56 kB / 0.56 GB, free: 1.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.1514, allocations: 0 / 0.56 GB, free: 1.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007876/0.1521, allocations: 197.3 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.1522, allocations: 77.11 kB / 0.5602 GB, free: 1.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.1524, allocations: 155.3 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.1524, allocations: 29.7 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/0.1525, allocations: 96.09 kB / 0.5605 GB, free: 1.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1525, allocations: 23.84 kB / 0.5605 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1526, allocations: 21.72 kB / 0.5606 GB, free: 1.016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1528, allocations: 330.8 kB / 0.5609 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.611e-05/0.1529, allocations: 27.92 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.153, allocations: 45.69 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.1532, allocations: 77.19 kB / 0.561 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1532, allocations: 0 / 0.561 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002788/0.1534, allocations: 121.5 kB / 0.5611 GB, free: 412 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1535, allocations: 8 kB / 0.5611 GB, free: 404 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.1535, allocations: 4 kB / 0.5611 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1535, allocations: 0 / 0.5611 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1536, allocations: 19.98 kB / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1536, allocations: 0 / 0.5612 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.1537, allocations: 15.86 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.1537, allocations: 4 kB / 0.5612 GB, free: 360 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 (9): * Single equations (assignments): 9 * 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.0001334/0.1538, allocations: 126.1 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.1539, allocations: 7.953 kB / 0.5613 GB, free: 216 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.1542, allocations: 110.4 kB / 0.5614 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1542, allocations: 3.938 kB / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1542, allocations: 0 / 0.5614 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.1542, allocations: 7.922 kB / 0.5614 GB, free: 84 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.1549, allocations: 398.6 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1549, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.1549, allocations: 19.98 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.155, allocations: 3.938 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.155, allocations: 7.938 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.155, allocations: 80 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.155, allocations: 3.984 kB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.1553, allocations: 203.4 kB / 0.562 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.1553, allocations: 85.06 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1554, allocations: 3.938 kB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.1555, allocations: 8 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.1555, allocations: 7.984 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1555, allocations: 0 / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1556, allocations: 120.5 kB / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1556, allocations: 0 / 0.5622 GB, free: 15.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000331/0.156, allocations: 47.86 kB / 0.5623 GB, free: 15.1 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 (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 Backend phase and start with SimCode phase: time 0.002484/0.1584, allocations: 1.137 MB / 0.5634 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.1587, allocations: 75.88 kB / 0.5635 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1587, allocations: 4 kB / 0.5635 GB, free: 14.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/0.1588, allocations: 27.98 kB / 0.5635 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.1592, allocations: 15.98 kB / 0.5635 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1613, allocations: 1.553 MB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.1617, allocations: 0.7078 MB / 0.5657 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.038e-05/0.1618, allocations: 24.41 kB / 0.5658 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.1619, allocations: 31.42 kB / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1619, allocations: 0 / 0.5658 GB, free: 11.59 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.1839, allocations: 3.626 MB / 0.5693 GB, free: 7.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.691, allocations: 20.58 kB / 0.5693 GB, free: 7.969 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.948129218013491]