Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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.001535/0.001535, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001486/0.001486, allocations: 209.4 kB / 23.73 MB, free: 4.523 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2466/0.2466, allocations: 46.97 MB / 360.9 MB, free: 4.02 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.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 71.89 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3243, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003138/0.3274, allocations: 1.694 MB / 0.5623 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3285, allocations: 0.5465 MB / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.3285, allocations: 0 / 0.5628 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.3287, allocations: 19.84 kB / 0.5628 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.329, allocations: 87.56 kB / 0.5629 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.3294, allocations: 139.1 kB / 0.563 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3295, allocations: 87.7 kB / 0.5631 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.3296, allocations: 25.8 kB / 0.5631 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.55e-05/0.3297, allocations: 35.86 kB / 0.5632 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.599e-05/0.3298, allocations: 43.77 kB / 0.5632 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3298, allocations: 8 kB / 0.5632 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.33, allocations: 107.9 kB / 0.5633 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.856e-05/0.3301, allocations: 23.91 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.136e-05/0.3301, allocations: 27.86 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.3304, allocations: 171.3 kB / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3304, allocations: 0 / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3304, allocations: 0 / 0.5635 GB, free: 1.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3304, allocations: 0 / 0.5635 GB, free: 1.254 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.0006468/0.331, allocations: 377.4 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3311, allocations: 8.031 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.3311, allocations: 38.73 kB / 0.5639 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.3312, allocations: 8.891 kB / 0.5639 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3314, allocations: 144 kB / 0.5641 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.3314, allocations: 8.312 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3314, allocations: 8.375 kB / 0.5641 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.3317, allocations: 121 kB / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3317, allocations: 0 / 0.5642 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3317, allocations: 4 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3317, allocations: 0 / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.332, allocations: 75.86 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.3324, allocations: 267.9 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.3327, allocations: 70.47 kB / 0.5646 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.3328, allocations: 36.95 kB / 0.5647 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.3329, allocations: 8 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.3329, allocations: 38.5 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3329, allocations: 0 / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001536/0.3344, allocations: 381 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.3345, allocations: 81.11 kB / 0.5651 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3347, allocations: 165.8 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.3347, allocations: 29.7 kB / 0.5653 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.3348, allocations: 100.1 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.3348, allocations: 35.77 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.3348, allocations: 29.7 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.335, allocations: 322.8 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.3353, allocations: 71.86 kB / 0.5659 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.3355, allocations: 111.3 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.3361, allocations: 148.7 kB / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3361, allocations: 0 / 0.5661 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000594/0.3367, allocations: 189.5 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.3367, allocations: 8 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3367, allocations: 384 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3367, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.3369, allocations: 52.27 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3369, allocations: 3.938 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.337, allocations: 23.91 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3371, allocations: 8 kB / 0.5664 GB, free: 14.12 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.0001006/0.3372, allocations: 117.8 kB / 0.5665 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/0.3372, allocations: 19.89 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006495/0.3379, allocations: 202.1 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.3379, allocations: 7.969 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3379, allocations: 3.938 kB / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3379, allocations: 0 / 0.5667 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.3388, allocations: 449.4 kB / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3388, allocations: 0 / 0.5671 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.339, allocations: 51.84 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.339, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.339, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.339, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.339, allocations: 3.984 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.3396, allocations: 287.2 kB / 0.5675 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.897e-05/0.3396, allocations: 15.89 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.3397, allocations: 3.984 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3398, allocations: 27.97 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/0.3399, allocations: 7.984 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.3399, allocations: 0 / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.34, allocations: 123.2 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.34, allocations: 288 / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000316/0.3403, allocations: 55.86 kB / 0.5677 GB, free: 12.68 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.002724/0.343, allocations: 1.254 MB / 0.5689 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006472/0.3437, allocations: 159.8 kB / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3437, allocations: 0 / 0.5691 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002927/0.344, allocations: 87.86 kB / 0.5692 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.3444, allocations: 15.98 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.3475, allocations: 1.856 MB / 0.571 GB, free: 9.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3476, allocations: 85.31 kB / 0.5711 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.53e-05/0.3477, allocations: 20.47 kB / 0.5711 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.3478, allocations: 43.42 kB / 0.5711 GB, free: 9.262 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3478, allocations: 0 / 0.5711 GB, free: 9.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3788, allocations: 5.012 MB / 0.576 GB, free: 4.285 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.62, allocations: 11.34 kB / 0.576 GB, free: 4.277 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.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_CombiTable2Ds_Test18_usertab.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! Error: Could not read variable ramp1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv. Warning: Get data of variable ramp1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.856794754974544]