Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0009068/0.0009068, 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.00114/0.00114, 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.9244/0.9244, allocations: 158.6 MB / 185 MB, free: 3.035 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.1409/0.1409, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 406.9 MB, free: 2.242 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.528e-05, allocations: 2.281 kB / 406.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003476/0.003502, allocations: 1.595 MB / 408.4 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007217/0.004223, allocations: 347.3 kB / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.81e-05/0.004291, allocations: 0 / 408.8 MB, free: 296 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.00492, allocations: 459 kB / 409.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003767/0.005297, allocations: 255.4 kB / 409.5 MB, free: 15.59 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.005693, allocations: 155.6 kB / 409.6 MB, free: 15.44 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.005939, allocations: 167.7 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.006042, allocations: 8.172 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.006182, allocations: 115.8 kB / 409.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.006431, allocations: 239.6 kB / 410.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.00645, allocations: 7.938 kB / 410.2 MB, free: 14.91 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.006522, allocations: 31.97 kB / 410.2 MB, free: 14.88 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.719e-05/0.006609, allocations: 91.59 kB / 410.3 MB, free: 14.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.006648, allocations: 43.73 kB / 410.3 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002255/0.006874, allocations: 239.1 kB / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006877, allocations: 0 / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.006879, allocations: 0 / 410.6 MB, free: 14.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.006883, allocations: 0 / 410.6 MB, free: 14.51 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.0005712/0.007454, allocations: 0.5699 MB / 411.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.007493, allocations: 8.031 kB / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.007523, allocations: 46.67 kB / 411.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.007569, allocations: 44.59 kB / 411.2 MB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.007767, allocations: 246 kB / 411.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.007776, allocations: 8.375 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.007795, allocations: 8.359 kB / 411.5 MB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.007916, allocations: 50.25 kB / 411.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.007927, allocations: 3.938 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.007936, allocations: 4 kB / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.00794, allocations: 0 / 411.5 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.254e-05/0.008002, allocations: 27.97 kB / 411.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.008393, allocations: 371.7 kB / 411.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.00857, allocations: 46.56 kB / 412 MB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.0086, allocations: 16.94 kB / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.008619, allocations: 0 / 412 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.008637, allocations: 34.5 kB / 412 MB, free: 12.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.008638, allocations: 0 / 412 MB, free: 12.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004461/0.009084, allocations: 240.7 kB / 412.3 MB, free: 12.67 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/0.009113, allocations: 55.41 kB / 412.3 MB, free: 12.6 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005698/0.009683, allocations: 0.8691 MB / 413.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.009695, allocations: 29.7 kB / 413.2 MB, free: 11.69 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.009813, allocations: 220.1 kB / 413.4 MB, free: 11.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.009834, allocations: 19.8 kB / 413.4 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.009866, allocations: 21.7 kB / 413.5 MB, free: 11.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.009972, allocations: 362.7 kB / 413.8 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/0.01002, allocations: 19.98 kB / 413.8 MB, free: 11.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.01005, allocations: 20.17 kB / 413.9 MB, free: 11.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.01013, allocations: 60.81 kB / 413.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.01013, allocations: 4 kB / 413.9 MB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001491/0.01028, allocations: 121.4 kB / 414 MB, free: 10.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.0103, allocations: 4 kB / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.0103, allocations: 0 / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01031, allocations: 0 / 414 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.01036, allocations: 19.92 kB / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.01036, allocations: 0 / 414.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.577e-05/0.0104, allocations: 15.86 kB / 414.1 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.0104, allocations: 4 kB / 414.1 MB, free: 10.79 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.0001385/0.01054, allocations: 213.7 kB / 414.3 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.361e-05/0.01057, allocations: 43.72 kB / 414.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.01076, allocations: 137.2 kB / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01076, allocations: 4 kB / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.01076, allocations: 0 / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.01077, allocations: 0 / 414.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000369/0.01114, allocations: 441.4 kB / 414.9 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01114, allocations: 0 / 414.9 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.01117, allocations: 16.17 kB / 414.9 MB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01117, allocations: 4 kB / 414.9 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.01118, allocations: 0 / 414.9 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.01118, allocations: 0 / 414.9 MB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.01119, allocations: 3.938 kB / 414.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.01134, allocations: 223.1 kB / 415.1 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.01137, allocations: 43.72 kB / 415.2 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.01139, allocations: 0 / 415.2 MB, free: 9.598 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.01144, allocations: 11.98 kB / 415.2 MB, free: 9.586 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.01147, allocations: 7.938 kB / 415.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.01148, allocations: 288 / 415.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004078/0.01189, allocations: 0.6589 MB / 415.9 MB, free: 8.922 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01189, allocations: 0 / 415.9 MB, free: 8.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.01208, allocations: 16 kB / 415.9 MB, free: 8.906 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.0009321/0.01301, allocations: 1.084 MB / 417 MB, free: 7.828 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.01315, allocations: 51.97 kB / 417 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01315, allocations: 0 / 417 MB, free: 7.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.274e-05/0.01319, allocations: 31.97 kB / 417.1 MB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.0135, allocations: 38.17 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.002466/0.01597, allocations: 3.246 MB / 420.3 MB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.01613, allocations: 224.1 kB / 420.6 MB, free: 4.117 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.575e-05/0.01618, allocations: 11.98 kB / 420.6 MB, free: 4.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.966e-05/0.01628, allocations: 116.5 kB / 420.7 MB, free: 3.992 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01628, allocations: 0 / 420.7 MB, free: 3.992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.03784, allocations: 6.723 MB / 427.4 MB, free: 13.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.03/7.068, allocations: 7.891 kB / 427.4 MB, free: 13.13 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_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_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable const.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.267565988004208]