Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.001323/0.001323, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002449/0.002449, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2523/0.2523, allocations: 46.93 MB / 360.9 MB, free: 4.262 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.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 63.89 kB / 0.4962 GB, free: 7.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3455, allocations: 66.03 MB / 0.5607 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003071/0.3485, allocations: 1.714 MB / 0.5623 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.3497, allocations: 0.6088 MB / 0.5629 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/0.3497, allocations: 8 kB / 0.5629 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.3499, allocations: 23.78 kB / 0.563 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.3502, allocations: 87.55 kB / 0.5631 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.3507, allocations: 183.2 kB / 0.5632 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/0.3509, allocations: 99.75 kB / 0.5633 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.351, allocations: 21.8 kB / 0.5633 GB, free: 1.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.415e-05/0.3511, allocations: 43.8 kB / 0.5634 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.32e-05/0.3511, allocations: 47.75 kB / 0.5634 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.3512, allocations: 4 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.3514, allocations: 99.94 kB / 0.5635 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.3514, allocations: 23.92 kB / 0.5636 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.48e-05/0.3515, allocations: 43.67 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.3518, allocations: 171.4 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3518, allocations: 0 / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3518, allocations: 0 / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3518, allocations: 4 kB / 0.5638 GB, free: 1.266 MB / 398.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.0007274/0.3525, allocations: 377.4 kB / 0.5641 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3525, allocations: 12.03 kB / 0.5641 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.3526, allocations: 30.75 kB / 0.5642 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.3526, allocations: 16.88 kB / 0.5642 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.3529, allocations: 154.3 kB / 0.5643 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3529, allocations: 4.375 kB / 0.5643 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.3529, allocations: 8.375 kB / 0.5643 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.3532, allocations: 95.3 kB / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3532, allocations: 0 / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3532, allocations: 0 / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3532, allocations: 0 / 0.5644 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.3535, allocations: 75.86 kB / 0.5645 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.3542, allocations: 323.8 kB / 0.5648 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.3545, allocations: 74.58 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.3546, allocations: 48.89 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3547, allocations: 0 / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.3547, allocations: 38.5 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3547, allocations: 0 / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001677/0.3564, allocations: 412.9 kB / 0.5654 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.3564, allocations: 77.11 kB / 0.5654 GB, free: 15.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.3566, allocations: 174.1 kB / 0.5656 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.3567, allocations: 33.64 kB / 0.5656 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/0.3567, allocations: 96.09 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3568, allocations: 31.73 kB / 0.5658 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.3568, allocations: 29.72 kB / 0.5658 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.357, allocations: 322.8 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/0.3573, allocations: 75.91 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.3576, allocations: 105.6 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.3581, allocations: 160.7 kB / 0.5664 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3581, allocations: 4.031 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006364/0.3588, allocations: 209.4 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3588, allocations: 4 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3588, allocations: 0 / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.3588, allocations: 4 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002348/0.359, allocations: 43.95 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.359, allocations: 3.938 kB / 0.5667 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.3592, allocations: 27.92 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3592, allocations: 0 / 0.5667 GB, free: 14.04 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 (10): * Single equations (assignments): 10 * 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.000124/0.3593, allocations: 134.1 kB / 0.5668 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.3594, allocations: 7.953 kB / 0.5668 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006883/0.3601, allocations: 226.1 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3601, allocations: 4 kB / 0.5671 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3601, allocations: 7.938 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3601, allocations: 0 / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3611, allocations: 0.4939 MB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3611, allocations: 0 / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3613, allocations: 39.91 kB / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3613, allocations: 0 / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.3613, allocations: 0 / 0.5676 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.928e-05/0.3613, allocations: 7.984 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3613, allocations: 0 / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.362, allocations: 299.3 kB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.106e-05/0.362, allocations: 23.77 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.3621, allocations: 3.984 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3622, allocations: 31.97 kB / 0.5679 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.3623, allocations: 11.98 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.3623, allocations: 3.938 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.3625, allocations: 128.1 kB / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3625, allocations: 0 / 0.5681 GB, free: 12.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000335/0.3628, allocations: 47.88 kB / 0.5681 GB, free: 12.5 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 (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 Backend phase and start with SimCode phase: time 0.002725/0.3655, allocations: 1.228 MB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006665/0.3662, allocations: 183.7 kB / 0.5695 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3662, allocations: 0 / 0.5695 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.3665, allocations: 83.92 kB / 0.5696 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.3669, allocations: 23.64 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.3701, allocations: 1.944 MB / 0.5715 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/0.3704, allocations: 0.7008 MB / 0.5722 GB, free: 8.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.3706, allocations: 32.45 kB / 0.5722 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.429e-05/0.3707, allocations: 43.36 kB / 0.5722 GB, free: 8.336 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3707, allocations: 112 / 0.5722 GB, free: 8.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.4014, allocations: 4.587 MB / 0.5767 GB, free: 3.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.47, allocations: 6.594 kB / 0.5767 GB, free: 3.777 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_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.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.625681078003254]