Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.00122/0.00122, 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.001037/0.001037, allocations: 169.9 kB / 23.21 MB, free: 1.355 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.8817/0.8817, allocations: 158.6 MB / 185 MB, free: 3.043 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.1384/0.1384, allocations: 32.37 MB / 269.6 MB, free: 15.04 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.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 406.8 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.329e-05, allocations: 6.281 kB / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001789/0.001803, allocations: 1.56 MB / 408.4 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000404/0.002207, allocations: 335.3 kB / 408.7 MB, free: 336 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.329e-05/0.00225, allocations: 0 / 408.7 MB, free: 336 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.002659, allocations: 459.1 kB / 409.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.002911, allocations: 247.4 kB / 409.4 MB, free: 15.64 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.003154, allocations: 155.6 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.003314, allocations: 159.7 kB / 409.7 MB, free: 15.33 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.279e-05/0.003397, allocations: 15.94 kB / 409.7 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.499e-05/0.003482, allocations: 107.8 kB / 409.9 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.003644, allocations: 243.5 kB / 410.1 MB, free: 14.97 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.003664, allocations: 4 kB / 410.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.436e-05/0.003719, allocations: 27.91 kB / 410.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.00379, allocations: 79.72 kB / 410.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.003824, allocations: 39.69 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.004014, allocations: 227.1 kB / 410.5 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004016, allocations: 3.938 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.004017, allocations: 4 kB / 410.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.004022, allocations: 3.984 kB / 410.5 MB, free: 14.59 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000457/0.004479, allocations: 0.566 MB / 411 MB, free: 13.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.004513, allocations: 8.031 kB / 411 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.602e-05/0.004539, allocations: 30.75 kB / 411.1 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.004573, allocations: 44.66 kB / 411.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.00476, allocations: 246 kB / 411.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.004768, allocations: 384 / 411.4 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.004777, allocations: 8.375 kB / 411.4 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/0.004872, allocations: 46.23 kB / 411.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.004878, allocations: 8.188 kB / 411.4 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.004887, allocations: 7.938 kB / 411.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.004892, allocations: 0 / 411.4 MB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.971e-05/0.004941, allocations: 31.91 kB / 411.5 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.005267, allocations: 351.9 kB / 411.8 MB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.479e-05/0.005322, allocations: 30.56 kB / 411.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.716e-05/0.005349, allocations: 20.91 kB / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.005365, allocations: 0 / 411.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.005382, allocations: 34.56 kB / 411.9 MB, free: 13.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.005383, allocations: 4 kB / 411.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.005547, allocations: 105.3 kB / 412 MB, free: 12.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.005576, allocations: 51.41 kB / 412 MB, free: 12.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005064/0.006082, allocations: 0.8653 MB / 412.9 MB, free: 11.98 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.006092, allocations: 25.7 kB / 412.9 MB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.006201, allocations: 228 kB / 413.2 MB, free: 11.73 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.006213, allocations: 3.953 kB / 413.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.006236, allocations: 17.66 kB / 413.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.006331, allocations: 362.9 kB / 413.5 MB, free: 11.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.26e-05/0.006353, allocations: 12 kB / 413.5 MB, free: 11.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.832e-05/0.006372, allocations: 11.98 kB / 413.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.006417, allocations: 36.72 kB / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.006418, allocations: 0 / 413.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.383e-05/0.006502, allocations: 93.39 kB / 413.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.006512, allocations: 4 kB / 413.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.006518, allocations: 4 kB / 413.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.006532, allocations: 4.094 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.456e-05/0.006576, allocations: 4 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.006581, allocations: 0 / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.006609, allocations: 4 kB / 413.7 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.006616, allocations: 7.922 kB / 413.7 MB, free: 11.15 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 (2): * Single equations (assignments): 2 * 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.0001217/0.006738, allocations: 209.7 kB / 413.9 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.006772, allocations: 47.67 kB / 414 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001163/0.006889, allocations: 108.7 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.00689, allocations: 8.031 kB / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.006894, allocations: 0 / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006897, allocations: 0 / 414.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.007073, allocations: 256.6 kB / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007074, allocations: 0 / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.007089, allocations: 4 kB / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.007091, allocations: 0 / 414.3 MB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.007098, allocations: 3.984 kB / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007099, allocations: 0 / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.007099, allocations: 0 / 414.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.007206, allocations: 195.1 kB / 414.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.007237, allocations: 47.7 kB / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007252, allocations: 0 / 414.6 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.007292, allocations: 8 kB / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.007316, allocations: 0 / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.007318, allocations: 0 / 414.6 MB, free: 10.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004039/0.007722, allocations: 0.655 MB / 415.2 MB, free: 9.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007722, allocations: 0 / 415.2 MB, free: 9.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001702/0.007892, allocations: 12 kB / 415.2 MB, free: 9.539 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 (2): * Single equations (assignments): 2 * 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.0007464/0.008639, allocations: 0.9987 MB / 416.2 MB, free: 8.543 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.497e-05/0.008724, allocations: 27.92 kB / 416.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008725, allocations: 0 / 416.3 MB, free: 8.516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.315e-05/0.008748, allocations: 20.05 kB / 416.3 MB, free: 8.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.008986, allocations: 22.3 kB / 416.3 MB, free: 8.473 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.01118, allocations: 3.15 MB / 419.5 MB, free: 5.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.01139, allocations: 219.5 kB / 419.7 MB, free: 4.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.469e-05/0.01143, allocations: 12.05 kB / 419.7 MB, free: 4.973 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.01153, allocations: 108.5 kB / 419.8 MB, free: 4.867 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01153, allocations: 11.94 kB / 419.8 MB, free: 4.855 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.03026, allocations: 6.43 MB / 426.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.167/7.197, allocations: 11.95 kB / 426.2 MB, free: 14.29 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_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_Test7.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable clock.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! Error: Could not read variable const.y in file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv. Warning: Get data of variable const.y from file ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.348815342411399]