Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.001479/0.001479, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002153/0.002153, allocations: 212 kB / 23.73 MB, free: 4.387 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2433/0.2433, allocations: 44.94 MB / 358.8 MB, free: 6.051 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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15",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.003077/0.003077, allocations: 69.78 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3357, allocations: 65.49 MB / 0.557 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002985/0.3387, allocations: 1.604 MB / 0.5586 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3398, allocations: 0.5388 MB / 0.5591 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.053e-05/0.3399, allocations: 0 / 0.5591 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002513/0.3401, allocations: 79.7 kB / 0.5592 GB, free: 5.328 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.3404, allocations: 107.6 kB / 0.5593 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.3407, allocations: 115.5 kB / 0.5594 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.3409, allocations: 83.75 kB / 0.5595 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.341, allocations: 17.81 kB / 0.5595 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.464e-05/0.341, allocations: 35.84 kB / 0.5595 GB, free: 4.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.3411, allocations: 63.75 kB / 0.5596 GB, free: 4.918 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.3412, allocations: 4 kB / 0.5596 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.776e-05/0.3413, allocations: 47.97 kB / 0.5596 GB, free: 4.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.3413, allocations: 19.92 kB / 0.5596 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.3414, allocations: 23.81 kB / 0.5597 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.3415, allocations: 107.5 kB / 0.5598 GB, free: 4.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3415, allocations: 4 kB / 0.5598 GB, free: 4.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3416, allocations: 0 / 0.5598 GB, free: 4.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.3416, allocations: 4 kB / 0.5598 GB, free: 4.711 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.000471/0.342, allocations: 341.5 kB / 0.5601 GB, free: 4.348 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.3421, allocations: 12.03 kB / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.3421, allocations: 34.73 kB / 0.5601 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.3421, allocations: 12.84 kB / 0.5602 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3423, allocations: 143 kB / 0.5603 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3423, allocations: 8.375 kB / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3423, allocations: 384 / 0.5603 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3425, allocations: 61.61 kB / 0.5604 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3425, allocations: 0 / 0.5604 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.3425, allocations: 4 kB / 0.5604 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3425, allocations: 0 / 0.5604 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.3426, allocations: 31.91 kB / 0.5604 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.343, allocations: 259.9 kB / 0.5606 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.3431, allocations: 50.55 kB / 0.5607 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.233e-05/0.3432, allocations: 20.8 kB / 0.5607 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.3432, allocations: 4.078 kB / 0.5607 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3432, allocations: 38.55 kB / 0.5607 GB, free: 3.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3432, allocations: 4 kB / 0.5608 GB, free: 3.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008736/0.3441, allocations: 241.2 kB / 0.561 GB, free: 3.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3442, allocations: 51.41 kB / 0.561 GB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.3444, allocations: 214.2 kB / 0.5612 GB, free: 3.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3444, allocations: 29.7 kB / 0.5613 GB, free: 3.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.3445, allocations: 116 kB / 0.5614 GB, free: 2.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.3445, allocations: 31.73 kB / 0.5614 GB, free: 2.863 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.3445, allocations: 17.72 kB / 0.5614 GB, free: 2.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3447, allocations: 326.8 kB / 0.5617 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.3448, allocations: 31.97 kB / 0.5618 GB, free: 2.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.62e-05/0.3448, allocations: 27.98 kB / 0.5618 GB, free: 2.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.345, allocations: 72.75 kB / 0.5619 GB, free: 2.379 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.345, allocations: 0 / 0.5619 GB, free: 2.379 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002326/0.3452, allocations: 117.6 kB / 0.562 GB, free: 2.258 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3453, allocations: 4 kB / 0.562 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3453, allocations: 0 / 0.562 GB, free: 2.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3453, allocations: 4 kB / 0.562 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3454, allocations: 15.98 kB / 0.562 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3454, allocations: 4.25 kB / 0.562 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.337e-05/0.3454, allocations: 4 kB / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3454, allocations: 11.98 kB / 0.562 GB, free: 2.215 MB / 398.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.0001051/0.3455, allocations: 133.8 kB / 0.5621 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.63e-05/0.3456, allocations: 11.91 kB / 0.5622 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003056/0.3459, allocations: 135 kB / 0.5623 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3459, allocations: 0 / 0.5623 GB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3459, allocations: 3.938 kB / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3459, allocations: 0 / 0.5623 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/0.3465, allocations: 382.3 kB / 0.5626 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.3465, allocations: 4.031 kB / 0.5627 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.933e-05/0.3465, allocations: 27.88 kB / 0.5627 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3465, allocations: 0 / 0.5627 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3465, allocations: 7.984 kB / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3466, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3466, allocations: 0 / 0.5627 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3468, allocations: 204.3 kB / 0.5629 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.3468, allocations: 15.84 kB / 0.5629 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.3469, allocations: 4 kB / 0.5629 GB, free: 1.207 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.757e-05/0.3469, allocations: 11.98 kB / 0.5629 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.784e-05/0.347, allocations: 7.984 kB / 0.5629 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.347, allocations: 4 kB / 0.5629 GB, free: 1.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.3471, allocations: 172.1 kB / 0.5631 GB, free: 1.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3471, allocations: 0 / 0.5631 GB, free: 1.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.3474, allocations: 23.94 kB / 0.5631 GB, free: 0.9922 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.002298/0.3497, allocations: 1.127 MB / 0.5642 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.3499, allocations: 75.88 kB / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3499, allocations: 0 / 0.5643 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.35, allocations: 43.97 kB / 0.5643 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3504, allocations: 19.88 kB / 0.5643 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.3524, allocations: 1.72 MB / 0.566 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.3525, allocations: 96.73 kB / 0.5661 GB, free: 14 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.802e-05/0.3526, allocations: 24.66 kB / 0.5661 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.3526, allocations: 35.42 kB / 0.5662 GB, free: 13.94 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3526, allocations: 0 / 0.5662 GB, free: 13.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.3819, allocations: 3.731 MB / 0.5698 GB, free: 10.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 9.641 kB / 0.5698 GB, free: 10.25 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.938117559999228]