Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_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.001328/0.001328, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001656/0.001656, allocations: 218.5 kB / 23.78 MB, free: 4.215 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.554/1.554, allocations: 230.5 MB / 257.5 MB, free: 7.727 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.2876/0.2876, allocations: 46.95 MB / 360.9 MB, free: 3.855 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 75.88 kB / 0.4963 GB, free: 7.441 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.339, allocations: 66.09 MB / 0.5608 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003362/0.3424, allocations: 1.676 MB / 0.5624 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.3436, allocations: 0.5811 MB / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.388e-05/0.3436, allocations: 0 / 0.563 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002261/0.3439, allocations: 31.78 kB / 0.563 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002939/0.3442, allocations: 83.61 kB / 0.5631 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.3446, allocations: 178.9 kB / 0.5633 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.3448, allocations: 103.7 kB / 0.5634 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3449, allocations: 21.8 kB / 0.5634 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.663e-05/0.345, allocations: 39.84 kB / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.3451, allocations: 43.77 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3452, allocations: 11.94 kB / 0.5635 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.3453, allocations: 87.95 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.24e-05/0.3454, allocations: 27.91 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.3455, allocations: 31.8 kB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.3458, allocations: 171.3 kB / 0.5638 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3458, allocations: 4 kB / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3458, allocations: 0 / 0.5638 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3458, allocations: 4 kB / 0.5638 GB, free: 0.8477 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.000699/0.3465, allocations: 373.4 kB / 0.5642 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.3465, allocations: 8.031 kB / 0.5642 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.324e-05/0.3466, allocations: 38.75 kB / 0.5642 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.3466, allocations: 8.891 kB / 0.5642 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3468, allocations: 146.3 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.3469, allocations: 4.375 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.3469, allocations: 384 / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.3472, allocations: 137.5 kB / 0.5645 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3472, allocations: 3.938 kB / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3472, allocations: 0 / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3472, allocations: 0 / 0.5645 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.3476, allocations: 71.92 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.3482, allocations: 311.8 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002597/0.3484, allocations: 74.52 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.3486, allocations: 44.95 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.3486, allocations: 7.984 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.3487, allocations: 30.56 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.3487, allocations: 4 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001696/0.3504, allocations: 416.9 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.3505, allocations: 81.11 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3506, allocations: 162.2 kB / 0.5656 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.3507, allocations: 29.7 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.3507, allocations: 108.1 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.3508, allocations: 35.73 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.3508, allocations: 25.66 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.351, allocations: 322.8 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.3513, allocations: 79.91 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.3516, allocations: 123.3 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005934/0.3522, allocations: 164.6 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3522, allocations: 4 kB / 0.5665 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006808/0.3529, allocations: 213.8 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3529, allocations: 4 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3529, allocations: 0 / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3529, allocations: 0 / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.3532, allocations: 47.95 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.3532, allocations: 0 / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.3533, allocations: 31.91 kB / 0.5668 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3534, allocations: 4.312 kB / 0.5668 GB, free: 13.57 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.0001153/0.3535, allocations: 121.8 kB / 0.5669 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.3535, allocations: 7.953 kB / 0.5669 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007426/0.3543, allocations: 230.2 kB / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3543, allocations: 0 / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3543, allocations: 0 / 0.5671 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3543, allocations: 3.984 kB / 0.5671 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.3553, allocations: 489.2 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3553, allocations: 0 / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.3555, allocations: 35.95 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3555, allocations: 4 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3555, allocations: 7.938 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3555, allocations: 0 / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3555, allocations: 0 / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007063/0.3562, allocations: 303.3 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.804e-05/0.3563, allocations: 15.89 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3563, allocations: 3.938 kB / 0.568 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.3565, allocations: 27.97 kB / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.3565, allocations: 11.92 kB / 0.568 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.3566, allocations: 7.984 kB / 0.568 GB, free: 12.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001168/0.3567, allocations: 119.2 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3567, allocations: 0 / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.357, allocations: 55.86 kB / 0.5682 GB, free: 12.07 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.002863/0.3599, allocations: 1.255 MB / 0.5694 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.3606, allocations: 179.8 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3606, allocations: 4 kB / 0.5696 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.3609, allocations: 91.98 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.3613, allocations: 18.8 kB / 0.5697 GB, free: 10.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.3645, allocations: 1.936 MB / 0.5716 GB, free: 8.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3646, allocations: 92.92 kB / 0.5717 GB, free: 8.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.3647, allocations: 36.45 kB / 0.5717 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3648, allocations: 44.47 kB / 0.5717 GB, free: 8.473 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3648, allocations: 0 / 0.5717 GB, free: 8.473 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.3973, allocations: 5.183 MB / 0.5768 GB, free: 3.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.54, allocations: 3.375 kB / 0.5768 GB, free: 3.293 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.817758369958028]