Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009917/0.0009917, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.00101/0.00101, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.21/1.21, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1489/0.1489, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 3.938 kB / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.885e-05/4.152e-05, allocations: 6.078 kB / 406.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003469/0.00351, allocations: 1.595 MB / 408.4 MB, free: 0.625 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000753/0.004263, allocations: 351.2 kB / 408.8 MB, free: 284 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.004365, allocations: 0 / 408.8 MB, free: 284 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006723/0.005037, allocations: 455.1 kB / 409.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003927/0.00543, allocations: 255.3 kB / 409.5 MB, free: 15.58 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.005836, allocations: 159.6 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.006115, allocations: 163.6 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.006289, allocations: 16.17 kB / 409.8 MB, free: 15.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.006429, allocations: 115.8 kB / 409.9 MB, free: 15.14 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.006686, allocations: 239.6 kB / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.006713, allocations: 0 / 410.2 MB, free: 14.9 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.00682, allocations: 39.97 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.006951, allocations: 87.59 kB / 410.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.099e-05/0.007012, allocations: 35.75 kB / 410.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.007362, allocations: 247 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.007366, allocations: 0 / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.007369, allocations: 0 / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.007378, allocations: 0 / 410.6 MB, free: 14.5 MB / 394.7 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.0008321/0.00821, allocations: 0.5738 MB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/0.008276, allocations: 8.031 kB / 411.1 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.214e-05/0.008328, allocations: 30.75 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.0084, allocations: 52.61 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.008706, allocations: 250 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.00872, allocations: 384 / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.008749, allocations: 4.375 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.008948, allocations: 62.17 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.008968, allocations: 3.938 kB / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.008978, allocations: 0 / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.008985, allocations: 0 / 411.5 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.426e-05/0.009069, allocations: 31.97 kB / 411.6 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.00964, allocations: 359.8 kB / 411.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.009914, allocations: 58.47 kB / 412 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.009955, allocations: 16.86 kB / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.009986, allocations: 0 / 412 MB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.01002, allocations: 34.64 kB / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.01002, allocations: 0 / 412 MB, free: 12.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006224/0.01064, allocations: 244.6 kB / 412.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.0107, allocations: 55.41 kB / 412.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.01146, allocations: 0.8653 MB / 413.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.01148, allocations: 29.7 kB / 413.2 MB, free: 11.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.01163, allocations: 220.1 kB / 413.4 MB, free: 11.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.01166, allocations: 23.8 kB / 413.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.0117, allocations: 17.72 kB / 413.5 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.01186, allocations: 362.7 kB / 413.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.01192, allocations: 19.98 kB / 413.8 MB, free: 11.03 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.01196, allocations: 19.98 kB / 413.9 MB, free: 11.01 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.01205, allocations: 56.83 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01205, allocations: 3.938 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001673/0.01222, allocations: 121.4 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.01224, allocations: 8 kB / 414.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01224, allocations: 0 / 414.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.01226, allocations: 0 / 414.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.367e-05/0.01232, allocations: 11.98 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.01233, allocations: 4 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.044e-05/0.01237, allocations: 15.94 kB / 414.1 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.01237, allocations: 0 / 414.1 MB, free: 10.78 MB / 394.7 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.0001823/0.01256, allocations: 221.6 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.0126, allocations: 43.72 kB / 414.3 MB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.01285, allocations: 141.2 kB / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.01285, allocations: 0 / 414.5 MB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.01286, allocations: 4 kB / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.01286, allocations: 320 / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.01332, allocations: 433.5 kB / 414.9 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.01333, allocations: 3.984 kB / 414.9 MB, free: 9.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.01337, allocations: 15.94 kB / 414.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01337, allocations: 0 / 414.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01338, allocations: 0 / 414.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01338, allocations: 0 / 414.9 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.01339, allocations: 3.938 kB / 414.9 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.01359, allocations: 223.2 kB / 415.1 MB, free: 9.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.01363, allocations: 47.7 kB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.01365, allocations: 0 / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.0137, allocations: 4 kB / 415.2 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.01375, allocations: 11.92 kB / 415.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.81e-06/0.01376, allocations: 4 kB / 415.2 MB, free: 9.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.01428, allocations: 0.6511 MB / 415.9 MB, free: 8.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01428, allocations: 0 / 415.9 MB, free: 8.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.01447, allocations: 24 kB / 415.9 MB, free: 8.895 MB / 394.7 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.001213/0.01568, allocations: 1.078 MB / 417 MB, free: 7.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.01585, allocations: 47.97 kB / 417 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.01585, allocations: 0 / 417 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.431e-05/0.0159, allocations: 27.92 kB / 417 MB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01629, allocations: 42.11 kB / 417.1 MB, free: 7.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.01903, allocations: 3.258 MB / 420.3 MB, free: 4.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.01918, allocations: 216.8 kB / 420.6 MB, free: 4.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.315e-05/0.01923, allocations: 11.98 kB / 420.6 MB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.01933, allocations: 116.4 kB / 420.7 MB, free: 3.988 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01933, allocations: 0 / 420.7 MB, free: 3.988 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.0399, allocations: 6.7 MB / 427.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/7.787, allocations: 7.953 kB / 427.4 MB, free: 13.14 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test4.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv. Warning: Get data of variable const.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.398601150140166]