Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001312/0.001312, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001384/0.001384, allocations: 212.2 kB / 20.75 MB, free: 2.332 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.49/1.49, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2217/0.2217, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8",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.001938/0.001938, allocations: 67.89 kB / 499.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1351, allocations: 65.43 MB / 0.5518 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003051/0.1381, allocations: 1.607 MB / 0.5533 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1392, allocations: 0.5455 MB / 0.5539 GB, free: 7.953 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.038e-05/0.1393, allocations: 4 kB / 0.5539 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.1395, allocations: 27.84 kB / 0.5539 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.1397, allocations: 79.61 kB / 0.554 GB, free: 7.844 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003164/0.1401, allocations: 103.7 kB / 0.5541 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1402, allocations: 67.77 kB / 0.5541 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.1403, allocations: 15.94 kB / 0.5542 GB, free: 7.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.147e-05/0.1404, allocations: 27.86 kB / 0.5542 GB, free: 7.633 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/0.1404, allocations: 27.84 kB / 0.5542 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1405, allocations: 0 / 0.5542 GB, free: 7.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.1405, allocations: 28 kB / 0.5542 GB, free: 7.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.1406, allocations: 19.92 kB / 0.5543 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1406, allocations: 27.8 kB / 0.5543 GB, free: 7.531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1408, allocations: 75.72 kB / 0.5544 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1408, allocations: 0 / 0.5544 GB, free: 7.457 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1408, allocations: 3.938 kB / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.1408, allocations: 0 / 0.5544 GB, free: 7.453 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005532/0.1414, allocations: 398.9 kB / 0.5547 GB, free: 7.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.1414, allocations: 8.031 kB / 0.5547 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.596e-05/0.1415, allocations: 38.75 kB / 0.5548 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.1415, allocations: 8.891 kB / 0.5548 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.1417, allocations: 192.2 kB / 0.555 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1417, allocations: 4.375 kB / 0.555 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1417, allocations: 4.375 kB / 0.555 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1419, allocations: 45.62 kB / 0.555 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1419, allocations: 7.938 kB / 0.555 GB, free: 6.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1419, allocations: 4 kB / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1419, allocations: 0 / 0.555 GB, free: 6.656 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.142, allocations: 27.97 kB / 0.5551 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.1426, allocations: 292.8 kB / 0.5553 GB, free: 6.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.1428, allocations: 46.5 kB / 0.5554 GB, free: 6.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/0.1429, allocations: 20.94 kB / 0.5554 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1429, allocations: 4 kB / 0.5554 GB, free: 6.211 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.143, allocations: 30.56 kB / 0.5554 GB, free: 6.172 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.143, allocations: 0 / 0.5554 GB, free: 6.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007045/0.1437, allocations: 149.4 kB / 0.5556 GB, free: 6.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.1437, allocations: 51.41 kB / 0.5556 GB, free: 5.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1439, allocations: 172.6 kB / 0.5558 GB, free: 5.781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1439, allocations: 25.7 kB / 0.5558 GB, free: 5.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.144, allocations: 96.08 kB / 0.5559 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.144, allocations: 19.84 kB / 0.5559 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1441, allocations: 21.72 kB / 0.556 GB, free: 5.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1442, allocations: 322.8 kB / 0.5563 GB, free: 5.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.536e-05/0.1443, allocations: 19.98 kB / 0.5563 GB, free: 5.262 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.582e-05/0.1444, allocations: 23.98 kB / 0.5563 GB, free: 5.238 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.1446, allocations: 52.83 kB / 0.5564 GB, free: 5.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1446, allocations: 0 / 0.5564 GB, free: 5.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002307/0.1448, allocations: 85.55 kB / 0.5564 GB, free: 5.094 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1448, allocations: 8 kB / 0.5564 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1448, allocations: 0 / 0.5564 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1448, allocations: 0 / 0.5564 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.1449, allocations: 15.98 kB / 0.5565 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1449, allocations: 7.938 kB / 0.5565 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.145, allocations: 4.281 kB / 0.5565 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.145, allocations: 4 kB / 0.5565 GB, free: 5.055 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 (5): * Single equations (assignments): 5 * 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.0001054/0.1451, allocations: 120 kB / 0.5566 GB, free: 4.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.541e-05/0.1451, allocations: 7.953 kB / 0.5566 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.1454, allocations: 109.9 kB / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1454, allocations: 0 / 0.5567 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1454, allocations: 4.25 kB / 0.5567 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1454, allocations: 0 / 0.5567 GB, free: 4.801 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.146, allocations: 354.6 kB / 0.557 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.146, allocations: 0 / 0.557 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.408e-05/0.146, allocations: 15.92 kB / 0.5571 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.146, allocations: 7.938 kB / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.146, allocations: 0 / 0.5571 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.146, allocations: 4 kB / 0.5571 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1461, allocations: 0 / 0.5571 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1463, allocations: 187.5 kB / 0.5572 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.1464, allocations: 81.06 kB / 0.5573 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1464, allocations: 7.938 kB / 0.5573 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.429e-05/0.1465, allocations: 7.922 kB / 0.5573 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.1465, allocations: 8 kB / 0.5573 GB, free: 4.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.1465, allocations: 0 / 0.5573 GB, free: 4.051 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1466, allocations: 134.4 kB / 0.5575 GB, free: 3.922 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1466, allocations: 0 / 0.5575 GB, free: 3.922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000259/0.1469, allocations: 15.89 kB / 0.5575 GB, free: 3.906 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 (5): * Single equations (assignments): 5 * 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.002066/0.149, allocations: 1.021 MB / 0.5585 GB, free: 3.023 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1492, allocations: 51.95 kB / 0.5585 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1492, allocations: 0 / 0.5585 GB, free: 2.973 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.349e-05/0.1493, allocations: 31.92 kB / 0.5586 GB, free: 2.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.1497, allocations: 19.92 kB / 0.5586 GB, free: 2.922 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1516, allocations: 1.484 MB / 0.56 GB, free: 1.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.152, allocations: 0.6963 MB / 0.5607 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.705e-05/0.1521, allocations: 19.83 kB / 0.5607 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.796e-05/0.1521, allocations: 27.36 kB / 0.5608 GB, free: 0.582 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1521, allocations: 4 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.1782, allocations: 2.656 MB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.264, allocations: 0 / 0.5634 GB, free: 13.96 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.Test8_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.39025809476152]