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.001749/0.001749, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.002102/0.002102, allocations: 206 kB / 23.72 MB, free: 4.414 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.48/1.48, 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.291/0.291, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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.002033/0.002033, allocations: 71.89 kB / 0.4961 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3201, allocations: 66.03 MB / 0.5606 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003099/0.3232, allocations: 1.692 MB / 0.5623 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.3244, allocations: 0.57 MB / 0.5628 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.605e-05/0.3244, allocations: 3.938 kB / 0.5628 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.3247, allocations: 23.78 kB / 0.5628 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.325, allocations: 91.55 kB / 0.5629 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.3255, allocations: 187.1 kB / 0.5631 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.3257, allocations: 95.75 kB / 0.5632 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3258, allocations: 13.81 kB / 0.5632 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.3259, allocations: 43.83 kB / 0.5633 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.326, allocations: 47.78 kB / 0.5633 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.326, allocations: 8 kB / 0.5633 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001978/0.3262, allocations: 103.9 kB / 0.5634 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.3262, allocations: 23.91 kB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.633e-05/0.3263, allocations: 31.8 kB / 0.5635 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.3266, allocations: 171.4 kB / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3266, allocations: 0 / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3266, allocations: 0 / 0.5636 GB, free: 1.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3266, allocations: 0 / 0.5636 GB, free: 1.125 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.0006689/0.3273, allocations: 381.3 kB / 0.564 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3273, allocations: 12.03 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.732e-05/0.3274, allocations: 34.75 kB / 0.564 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.3274, allocations: 8.891 kB / 0.564 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.3276, allocations: 146.3 kB / 0.5642 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3277, allocations: 4.375 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3277, allocations: 384 / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.328, allocations: 132.9 kB / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.328, allocations: 0 / 0.5643 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.328, allocations: 4 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.328, allocations: 0 / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.3284, allocations: 71.92 kB / 0.5644 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006556/0.329, allocations: 307.8 kB / 0.5647 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.3293, allocations: 78.47 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.3294, allocations: 52.92 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.3295, allocations: 0 / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3295, allocations: 34.56 kB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.3295, allocations: 3.938 kB / 0.5648 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001649/0.3312, allocations: 412.9 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.3312, allocations: 77.11 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.3314, allocations: 174.1 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3315, allocations: 29.7 kB / 0.5655 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.06e-05/0.3315, allocations: 100.1 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.763e-05/0.3316, allocations: 35.8 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.3316, allocations: 21.72 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3318, allocations: 322.8 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.3321, allocations: 83.91 kB / 0.566 GB, free: 14.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.3324, allocations: 119.3 kB / 0.5661 GB, free: 14.31 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005951/0.333, allocations: 168.7 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.333, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006495/0.3337, allocations: 213.5 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3337, allocations: 8 kB / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3337, allocations: 0 / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3337, allocations: 0 / 0.5665 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.3339, allocations: 39.89 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3339, allocations: 7.938 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.3341, allocations: 28.3 kB / 0.5666 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.3341, allocations: 7.984 kB / 0.5666 GB, free: 13.84 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.0001162/0.3342, allocations: 126.2 kB / 0.5667 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.3343, allocations: 7.953 kB / 0.5667 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007075/0.335, allocations: 226.1 kB / 0.5669 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.335, allocations: 8 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.335, allocations: 3.938 kB / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.335, allocations: 0 / 0.567 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.336, allocations: 481.4 kB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.336, allocations: 0 / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.3362, allocations: 43.83 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3362, allocations: 0 / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3362, allocations: 0 / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3362, allocations: 3.938 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3362, allocations: 4 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.3369, allocations: 299.3 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.3369, allocations: 19.83 kB / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.242e-05/0.337, allocations: 0 / 0.5678 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.3371, allocations: 31.97 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3372, allocations: 15.97 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.3372, allocations: 0 / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3373, allocations: 128.1 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3373, allocations: 0 / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3376, allocations: 51.86 kB / 0.568 GB, free: 12.34 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.002789/0.3404, allocations: 1.268 MB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.3411, allocations: 183.7 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3411, allocations: 0 / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003005/0.3414, allocations: 87.84 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.3418, allocations: 27.62 kB / 0.5695 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.345, allocations: 1.932 MB / 0.5714 GB, free: 8.965 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.267e-05/0.3451, allocations: 96.8 kB / 0.5715 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.3452, allocations: 32.47 kB / 0.5715 GB, free: 8.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.3453, allocations: 35.42 kB / 0.5716 GB, free: 8.785 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3453, allocations: 0 / 0.5716 GB, free: 8.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/0.3763, allocations: 5.139 MB / 0.5766 GB, free: 3.684 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.68, allocations: 11.67 kB / 0.5766 GB, free: 3.676 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.846202312997775]