Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 127.4 kB / 17.79 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001369/0.001369, allocations: 211.6 kB / 20.75 MB, free: 2.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 230.4 MB / 254 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.24/0.24, allocations: 46.93 MB / 357 MB, free: 10.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002283/0.002283, allocations: 83.88 kB / 0.491 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1413, allocations: 66.05 MB / 0.5555 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003183/0.1445, allocations: 1.614 MB / 0.5571 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1456, allocations: 0.5567 MB / 0.5576 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.894e-05/0.1456, allocations: 0 / 0.5576 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1459, allocations: 27.83 kB / 0.5576 GB, free: 3.266 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.1461, allocations: 79.62 kB / 0.5577 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1464, allocations: 117 kB / 0.5578 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.1466, allocations: 71.77 kB / 0.5579 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1467, allocations: 12 kB / 0.5579 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.1467, allocations: 31.84 kB / 0.5579 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.1468, allocations: 31.84 kB / 0.558 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1468, allocations: 7.938 kB / 0.558 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.147, allocations: 99.88 kB / 0.5581 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.955e-05/0.1471, allocations: 11.98 kB / 0.5581 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.1471, allocations: 35.78 kB / 0.5581 GB, free: 2.777 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.1474, allocations: 147.4 kB / 0.5583 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1474, allocations: 0 / 0.5583 GB, free: 2.633 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1474, allocations: 0 / 0.5583 GB, free: 2.633 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1474, allocations: 0 / 0.5583 GB, free: 2.633 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.0005662/0.148, allocations: 414.8 kB / 0.5586 GB, free: 2.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.148, allocations: 8.031 kB / 0.5587 GB, free: 2.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1481, allocations: 30.75 kB / 0.5587 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1481, allocations: 8.891 kB / 0.5587 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1483, allocations: 192.3 kB / 0.5589 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.1483, allocations: 12.36 kB / 0.5589 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.1484, allocations: 384 / 0.5589 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1485, allocations: 71.89 kB / 0.559 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1485, allocations: 3.938 kB / 0.559 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1486, allocations: 4 kB / 0.559 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.1486, allocations: 0 / 0.559 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.716e-05/0.1487, allocations: 31.91 kB / 0.559 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.1491, allocations: 285 kB / 0.5593 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.1493, allocations: 58.42 kB / 0.5593 GB, free: 1.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1493, allocations: 24.94 kB / 0.5593 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.1493, allocations: 0 / 0.5593 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1494, allocations: 30.56 kB / 0.5594 GB, free: 1.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1494, allocations: 4 kB / 0.5594 GB, free: 1.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006525/0.15, allocations: 185.3 kB / 0.5596 GB, free: 1.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/0.1501, allocations: 81.11 kB / 0.5596 GB, free: 1.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.1502, allocations: 151.2 kB / 0.5598 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1503, allocations: 25.7 kB / 0.5598 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.1503, allocations: 96.12 kB / 0.5599 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1503, allocations: 27.8 kB / 0.5599 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.1504, allocations: 25.7 kB / 0.5599 GB, free: 0.668 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1505, allocations: 318.8 kB / 0.5602 GB, free: 356 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.864e-05/0.1506, allocations: 27.97 kB / 0.5603 GB, free: 328 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.961e-05/0.1507, allocations: 49.62 kB / 0.5603 GB, free: 272 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1509, allocations: 76.84 kB / 0.5604 GB, free: 192 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1509, allocations: 0 / 0.5604 GB, free: 192 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002338/0.1511, allocations: 109.6 kB / 0.5605 GB, free: 76 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1512, allocations: 4 kB / 0.5605 GB, free: 72 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1512, allocations: 3.938 kB / 0.5605 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1512, allocations: 0 / 0.5605 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.1513, allocations: 19.98 kB / 0.5605 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1513, allocations: 3.938 kB / 0.5605 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.1513, allocations: 8 kB / 0.5605 GB, free: 36 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1513, allocations: 3.984 kB / 0.5605 GB, free: 32 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.0001083/0.1515, allocations: 121.8 kB / 0.5607 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.1515, allocations: 7.953 kB / 0.5607 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002917/0.1518, allocations: 114.7 kB / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1518, allocations: 0 / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1518, allocations: 0 / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1518, allocations: 8 kB / 0.5608 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.1523, allocations: 394.3 kB / 0.5612 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1523, allocations: 4 kB / 0.5612 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.775e-05/0.1524, allocations: 19.92 kB / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1524, allocations: 3.938 kB / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1524, allocations: 0 / 0.5612 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1524, allocations: 3.938 kB / 0.5612 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1524, allocations: 0 / 0.5612 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1527, allocations: 199.5 kB / 0.5614 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.389e-05/0.1527, allocations: 85.33 kB / 0.5615 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1527, allocations: 8 kB / 0.5615 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.1528, allocations: 7.938 kB / 0.5615 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1528, allocations: 7.969 kB / 0.5615 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.1528, allocations: 4 kB / 0.5615 GB, free: 14.95 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1529, allocations: 117.5 kB / 0.5616 GB, free: 14.84 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1529, allocations: 0 / 0.5616 GB, free: 14.84 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1532, allocations: 43.86 kB / 0.5616 GB, free: 14.8 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.002347/0.1556, allocations: 1.13 MB / 0.5627 GB, free: 13.81 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.1559, allocations: 67.94 kB / 0.5628 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1559, allocations: 0 / 0.5628 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.515e-05/0.156, allocations: 35.91 kB / 0.5628 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.1564, allocations: 19.92 kB / 0.5629 GB, free: 13.69 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1583, allocations: 1.53 MB / 0.5644 GB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1587, allocations: 0.6924 MB / 0.565 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.708e-05/0.1587, allocations: 33.03 kB / 0.5651 GB, free: 11.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.1588, allocations: 27.42 kB / 0.5651 GB, free: 11.3 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1588, allocations: 0 / 0.5651 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1835, allocations: 3.528 MB / 0.5685 GB, free: 7.793 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.285, allocations: 9.75 kB / 0.5685 GB, free: 7.789 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.4900676489342]