Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.001361/0.001361, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001412/0.001412, allocations: 214.6 kB / 23.74 MB, free: 4.656 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2375/0.2375, allocations: 46.93 MB / 360.9 MB, free: 4.285 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.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3379, allocations: 66.03 MB / 0.5607 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003215/0.3411, allocations: 1.671 MB / 0.5623 GB, free: 2.777 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3422, allocations: 0.5933 MB / 0.5629 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3423, allocations: 3.938 kB / 0.5629 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.3429, allocations: 455.1 kB / 0.5633 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.3434, allocations: 299.2 kB / 0.5636 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.3439, allocations: 175.1 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.3441, allocations: 171.6 kB / 0.5639 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3442, allocations: 21.8 kB / 0.564 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.3444, allocations: 115.7 kB / 0.5641 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002855/0.3446, allocations: 243.5 kB / 0.5643 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3447, allocations: 3.984 kB / 0.5643 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.3448, allocations: 39.92 kB / 0.5643 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.3449, allocations: 83.69 kB / 0.5644 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.569e-05/0.345, allocations: 103 kB / 0.5645 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.3453, allocations: 266.6 kB / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3453, allocations: 0 / 0.5648 GB, free: 248 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3453, allocations: 4 kB / 0.5648 GB, free: 244 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3453, allocations: 4 kB / 0.5648 GB, free: 240 kB / 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.0007483/0.3461, allocations: 0.5854 MB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3461, allocations: 8.031 kB / 0.5654 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.877e-05/0.3462, allocations: 42.67 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.3462, allocations: 44.66 kB / 0.5654 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3465, allocations: 246.8 kB / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3465, allocations: 384 / 0.5657 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.3466, allocations: 12.31 kB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.3467, allocations: 65.61 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.3467, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3467, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-06/0.3467, allocations: 0 / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.3468, allocations: 23.98 kB / 0.5658 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.3474, allocations: 379.6 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.3476, allocations: 50.55 kB / 0.5662 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3476, allocations: 16.86 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3476, allocations: 0 / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3477, allocations: 38.58 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.3477, allocations: 0 / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000633/0.3483, allocations: 236.7 kB / 0.5665 GB, free: 14.37 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3483, allocations: 63.33 kB / 0.5665 GB, free: 14.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.3493, allocations: 0.8776 MB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3493, allocations: 25.7 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.3495, allocations: 220.1 kB / 0.5676 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3495, allocations: 27.78 kB / 0.5676 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-05/0.3495, allocations: 13.72 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3497, allocations: 370.8 kB / 0.568 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.681e-05/0.3498, allocations: 19.98 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.3498, allocations: 19.98 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.35, allocations: 56.95 kB / 0.5681 GB, free: 12.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.35, allocations: 4 kB / 0.5681 GB, free: 12.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002298/0.3502, allocations: 125.3 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3502, allocations: 8 kB / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3502, allocations: 0 / 0.5682 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.3502, allocations: 4 kB / 0.5682 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.575e-05/0.3503, allocations: 11.98 kB / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.3503, allocations: 0 / 0.5682 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.3504, allocations: 11.94 kB / 0.5683 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.3504, allocations: 0 / 0.5683 GB, free: 12.47 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.000196/0.3506, allocations: 213.8 kB / 0.5685 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/0.3506, allocations: 47.67 kB / 0.5685 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.3509, allocations: 149.2 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3509, allocations: 3.938 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3509, allocations: 0 / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3509, allocations: 3.938 kB / 0.5687 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005718/0.3515, allocations: 441.9 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3515, allocations: 4 kB / 0.5691 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.3516, allocations: 12 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3516, allocations: 0 / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.3516, allocations: 3.938 kB / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3516, allocations: 0 / 0.5691 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.3516, allocations: 12.09 kB / 0.5691 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.3519, allocations: 223.2 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.3519, allocations: 43.7 kB / 0.5694 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.352, allocations: 3.938 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.352, allocations: 4 kB / 0.5694 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.3521, allocations: 7.984 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.3521, allocations: 4 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006674/0.3528, allocations: 0.6589 MB / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3528, allocations: 0 / 0.57 GB, free: 10.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.353, allocations: 27.89 kB / 0.5701 GB, free: 10.54 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.001955/0.355, allocations: 1.064 MB / 0.5711 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.3552, allocations: 51.95 kB / 0.5711 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3552, allocations: 0 / 0.5711 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.013e-05/0.3553, allocations: 31.92 kB / 0.5712 GB, free: 9.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3556, allocations: 27.8 kB / 0.5712 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.3596, allocations: 3.271 MB / 0.5744 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.36, allocations: 0.8299 MB / 0.5752 GB, free: 5.281 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.181e-05/0.3601, allocations: 28.58 kB / 0.5752 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3603, allocations: 111.4 kB / 0.5753 GB, free: 5.141 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3603, allocations: 0 / 0.5753 GB, free: 5.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.3958, allocations: 6.285 MB / 0.5815 GB, free: 14.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.99, allocations: 4.062 kB / 0.5815 GB, free: 14.93 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.226011275997735]