Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001456/0.001456, 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.001585/0.001585, allocations: 203.3 kB / 20.74 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.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 44.9 MB / 355.1 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00317/0.00317, allocations: 67.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.14, allocations: 65.43 MB / 0.5518 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002923/0.143, allocations: 1.607 MB / 0.5533 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.144, allocations: 0.5728 MB / 0.5539 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.1441, allocations: 0 / 0.5539 GB, free: 7.938 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.1443, allocations: 27.86 kB / 0.5539 GB, free: 7.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.1445, allocations: 79.61 kB / 0.554 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.1448, allocations: 111.7 kB / 0.5541 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.145, allocations: 71.78 kB / 0.5542 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.642e-05/0.145, allocations: 15.91 kB / 0.5542 GB, free: 7.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.294e-05/0.1451, allocations: 27.92 kB / 0.5542 GB, free: 7.609 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.1452, allocations: 27.86 kB / 0.5543 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.1452, allocations: 7.984 kB / 0.5543 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1454, allocations: 103.9 kB / 0.5544 GB, free: 7.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.534e-05/0.1454, allocations: 19.91 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.1454, allocations: 23.81 kB / 0.5544 GB, free: 7.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1457, allocations: 143.5 kB / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1457, allocations: 0 / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1457, allocations: 0 / 0.5545 GB, free: 7.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1457, allocations: 0 / 0.5545 GB, free: 7.289 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.0005829/0.1463, allocations: 418.7 kB / 0.5549 GB, free: 6.832 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1463, allocations: 8.031 kB / 0.5549 GB, free: 6.824 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.1463, allocations: 34.75 kB / 0.555 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.1464, allocations: 8.891 kB / 0.555 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.1466, allocations: 196.2 kB / 0.5552 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1466, allocations: 384 / 0.5552 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.1466, allocations: 4.375 kB / 0.5552 GB, free: 6.539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1468, allocations: 71.27 kB / 0.5552 GB, free: 6.457 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1468, allocations: 8 kB / 0.5553 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1468, allocations: 0 / 0.5553 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.1468, allocations: 0 / 0.5553 GB, free: 6.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.101e-05/0.1469, allocations: 23.98 kB / 0.5553 GB, free: 6.426 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.1474, allocations: 296.9 kB / 0.5556 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.1475, allocations: 46.5 kB / 0.5556 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.1476, allocations: 28.94 kB / 0.5556 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1476, allocations: 0 / 0.5556 GB, free: 6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.1476, allocations: 38.55 kB / 0.5557 GB, free: 5.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1476, allocations: 0 / 0.5557 GB, free: 5.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009181/0.1486, allocations: 177.3 kB / 0.5558 GB, free: 5.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.1486, allocations: 85.09 kB / 0.5559 GB, free: 5.672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.1489, allocations: 155.8 kB / 0.5561 GB, free: 5.512 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.1489, allocations: 29.7 kB / 0.5561 GB, free: 5.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.149, allocations: 88.14 kB / 0.5562 GB, free: 5.387 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.149, allocations: 23.84 kB / 0.5562 GB, free: 5.363 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.1491, allocations: 25.66 kB / 0.5562 GB, free: 5.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1493, allocations: 322.8 kB / 0.5565 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.1494, allocations: 35.97 kB / 0.5566 GB, free: 4.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.1496, allocations: 49.62 kB / 0.5566 GB, free: 4.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.1498, allocations: 68.81 kB / 0.5567 GB, free: 4.848 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1498, allocations: 0 / 0.5567 GB, free: 4.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003844/0.1502, allocations: 109.6 kB / 0.5568 GB, free: 4.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1502, allocations: 8.031 kB / 0.5568 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.319e-06/0.1502, allocations: 0 / 0.5568 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1503, allocations: 4 kB / 0.5568 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.1504, allocations: 19.92 kB / 0.5568 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1504, allocations: 0 / 0.5568 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.1505, allocations: 7.938 kB / 0.5568 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1505, allocations: 4 kB / 0.5568 GB, free: 4.691 MB / 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.00013/0.1506, allocations: 121.8 kB / 0.5569 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.1507, allocations: 7.953 kB / 0.557 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.151, allocations: 118.6 kB / 0.5571 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.151, allocations: 4 kB / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.151, allocations: 0 / 0.5571 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.151, allocations: 3.938 kB / 0.5571 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/0.1516, allocations: 394.4 kB / 0.5574 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1516, allocations: 0 / 0.5574 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/0.1516, allocations: 19.94 kB / 0.5575 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1516, allocations: 4.219 kB / 0.5575 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.1517, allocations: 7.984 kB / 0.5575 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1517, allocations: 0 / 0.5575 GB, free: 3.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1517, allocations: 4 kB / 0.5575 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1519, allocations: 195.4 kB / 0.5577 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.152, allocations: 89.06 kB / 0.5578 GB, free: 3.633 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.152, allocations: 3.938 kB / 0.5578 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.1521, allocations: 15.92 kB / 0.5578 GB, free: 3.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.1521, allocations: 8 kB / 0.5578 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.1521, allocations: 0 / 0.5578 GB, free: 3.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1522, allocations: 115.2 kB / 0.5579 GB, free: 3.492 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1522, allocations: 0 / 0.5579 GB, free: 3.492 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1525, allocations: 43.86 kB / 0.5579 GB, free: 3.449 MB / 414.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.002198/0.1547, allocations: 1.135 MB / 0.559 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.155, allocations: 67.89 kB / 0.5591 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.155, allocations: 0 / 0.5591 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.419e-05/0.155, allocations: 35.97 kB / 0.5591 GB, free: 2.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.1554, allocations: 20.22 kB / 0.5592 GB, free: 2.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.1573, allocations: 1.533 MB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1576, allocations: 0.6963 MB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.135e-05/0.1577, allocations: 25.11 kB / 0.5614 GB, free: 8 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.1578, allocations: 31.5 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1578, allocations: 0 / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.1821, allocations: 3.53 MB / 0.5648 GB, free: 12.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.491, allocations: 3.984 kB / 0.5648 GB, free: 12.45 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.56890577590093]