Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.000804/0.000804, 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.0008123/0.0008123, allocations: 169.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 0.8922/0.8922, 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.1393/0.1393, allocations: 32.36 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.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 406.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.108e-05/2.265e-05, allocations: 5.938 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002102/0.002124, allocations: 1.603 MB / 408.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004892/0.002614, allocations: 339.2 kB / 408.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.772e-05/0.002671, allocations: 4 kB / 408.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002654/0.002937, allocations: 71.7 kB / 408.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.003121, allocations: 63.73 kB / 408.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003193/0.00344, allocations: 159.5 kB / 409.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.003603, allocations: 79.81 kB / 409.2 MB, free: 11.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003703, allocations: 11.98 kB / 409.2 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.562e-05/0.003769, allocations: 43.89 kB / 409.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.003861, allocations: 55.86 kB / 409.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.003878, allocations: 0 / 409.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.003949, allocations: 43.86 kB / 409.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.101e-05/0.00401, allocations: 23.92 kB / 409.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.00404, allocations: 19.94 kB / 409.4 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.00421, allocations: 99.62 kB / 409.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004212, allocations: 3.938 kB / 409.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.004213, allocations: 0 / 409.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.004218, allocations: 0 / 409.5 MB, free: 10.89 MB / 346.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.0004197/0.004638, allocations: 345.6 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.004674, allocations: 8.031 kB / 409.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.058e-05/0.004705, allocations: 34.75 kB / 409.8 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.004732, allocations: 12.89 kB / 409.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.004874, allocations: 159.3 kB / 410 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.004884, allocations: 4.375 kB / 410 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.004899, allocations: 384 / 410 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.005018, allocations: 58.23 kB / 410.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.005027, allocations: 4.188 kB / 410.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.005036, allocations: 3.938 kB / 410.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.00504, allocations: 0 / 410.1 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.268e-05/0.005122, allocations: 43.95 kB / 410.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.005662, allocations: 283.8 kB / 410.4 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.435e-05/0.005746, allocations: 42.56 kB / 410.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.005785, allocations: 28.92 kB / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.005804, allocations: 0 / 410.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.005822, allocations: 34.56 kB / 410.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.005823, allocations: 0 / 410.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005149/0.006338, allocations: 233.2 kB / 410.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.00637, allocations: 55.34 kB / 410.8 MB, free: 9.418 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.006509, allocations: 207.8 kB / 411 MB, free: 9.207 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.006521, allocations: 25.7 kB / 411 MB, free: 9.176 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.224e-05/0.006573, allocations: 116 kB / 411.1 MB, free: 9.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.006593, allocations: 19.84 kB / 411.1 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.006624, allocations: 25.72 kB / 411.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.006706, allocations: 326.8 kB / 411.5 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.006776, allocations: 35.97 kB / 411.5 MB, free: 8.645 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.006835, allocations: 43.91 kB / 411.6 MB, free: 8.602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.006958, allocations: 85.09 kB / 411.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.00696, allocations: 4 kB / 411.6 MB, free: 8.512 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001687/0.007129, allocations: 129.6 kB / 411.8 MB, free: 8.379 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.007145, allocations: 6.656 kB / 411.8 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.007151, allocations: 4 kB / 411.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.007166, allocations: 0 / 411.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.9e-05/0.007255, allocations: 19.98 kB / 411.8 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.007262, allocations: 4 kB / 411.8 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.733e-05/0.007299, allocations: 15.94 kB / 411.8 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.007307, allocations: 7.938 kB / 411.8 MB, free: 8.324 MB / 346.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 (7): * Single equations (assignments): 7 * 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 7.624e-05/0.007383, allocations: 133.8 kB / 412 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.902e-05/0.007402, allocations: 11.89 kB / 412 MB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.007619, allocations: 139.1 kB / 412.1 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.007623, allocations: 0 / 412.1 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.007627, allocations: 0 / 412.1 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.007632, allocations: 4 kB / 412.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.007996, allocations: 385.4 kB / 412.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.007997, allocations: 0 / 412.5 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.175e-05/0.008039, allocations: 19.98 kB / 412.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008041, allocations: 0 / 412.5 MB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.008049, allocations: 3.984 kB / 412.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.008052, allocations: 4 kB / 412.5 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.008055, allocations: 7.938 kB / 412.5 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.008227, allocations: 227.3 kB / 412.7 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.008242, allocations: 11.91 kB / 412.8 MB, free: 7.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.008255, allocations: 4 kB / 412.8 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.008302, allocations: 12.27 kB / 412.8 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.008338, allocations: 11.92 kB / 412.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.008342, allocations: 0 / 412.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.733e-05/0.008429, allocations: 167.5 kB / 412.9 MB, free: 7.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008429, allocations: 4 kB / 413 MB, free: 7.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.008595, allocations: 12 kB / 413 MB, free: 7.105 MB / 346.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 (7): * Single equations (assignments): 7 * 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.0009369/0.009531, allocations: 1.08 MB / 414 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.009715, allocations: 87.92 kB / 414.1 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.009717, allocations: 0 / 414.1 MB, free: 5.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.00978, allocations: 52.05 kB / 414.2 MB, free: 5.914 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.01005, allocations: 24.08 kB / 414.2 MB, free: 5.891 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.01138, allocations: 1.769 MB / 416 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.01144, allocations: 96.3 kB / 416.1 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.0115, allocations: 16.72 kB / 416.1 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.509e-05/0.01155, allocations: 40.58 kB / 416.1 MB, free: 3.863 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01155, allocations: 7.938 kB / 416.1 MB, free: 3.855 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.029, allocations: 3.828 MB / 420 MB, free: 15.92 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.1/7.129, allocations: 7.922 kB / 420 MB, free: 15.91 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test30_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.224687620066106]